0
0
Tailwindmarkup~5 mins

Default color palette and shades in Tailwind - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the purpose of Tailwind's default color palette?
Tailwind's default color palette provides a set of predefined colors and shades that help developers quickly style elements with consistent and accessible colors.
Click to reveal answer
beginner
How are shades organized in Tailwind's default color palette?
Shades are organized by numbers like 50, 100, 200, up to 900. Lower numbers are lighter shades, and higher numbers are darker shades of the same color.
Click to reveal answer
beginner
Name three colors included in Tailwind's default palette.
Some colors in Tailwind's default palette are blue, red, and green. Each has multiple shades for flexibility.
Click to reveal answer
beginner
How would you apply a medium blue shade from Tailwind's palette to a background?
Use a class like bg-blue-500 to apply a medium blue background color.
Click to reveal answer
intermediate
Why is it helpful to use Tailwind's color shades instead of custom colors?
Using Tailwind's shades ensures consistent design, good contrast for accessibility, and easier maintenance across the project.
Click to reveal answer
In Tailwind, which shade number represents the lightest color?
A500
B50
C900
D1000
What does the class text-red-700 do?
ASets text color to a dark red shade
BSets background color to red
CSets border color to red
DSets text color to light red
Which of these is NOT a default Tailwind color?
Amagenta
Bcyan
Cemerald
Damber
How many shades does each color in Tailwind's default palette typically have?
A9
B5
C12
D10
Which class applies a medium green background in Tailwind?
Abg-green-300
Bbg-green-700
Cbg-green-500
Dbg-green-900
Explain how Tailwind's default color palette helps maintain design consistency.
Think about how using the same colors and shades helps keep designs uniform.
You got /4 concepts.
    Describe how you would choose a color shade for text to ensure good readability.
    Consider how color contrast affects how easy text is to read.
    You got /4 concepts.