Recall & Review
beginner
What is a CSS color name?
A CSS color name is a predefined word that represents a specific color in CSS, like
red, blue, or green. It lets you set colors without using codes.Click to reveal answer
beginner
Name three common CSS color names.
Three common CSS color names are
black, white, and yellow. These are easy to remember and use.Click to reveal answer
beginner
How do you use a color name in CSS to change text color?
You use the
color property with a color name. For example: p { color: blue; } This changes paragraph text to blue.Click to reveal answer
beginner
Are CSS color names case sensitive?
No, CSS color names are not case sensitive.
Red, red, and RED all work the same.Click to reveal answer
beginner
Why might you choose a color name over a hex code?
Color names are easier to remember and type, especially for simple colors. Hex codes give more color choices but can be harder to read.
Click to reveal answer
Which of these is a valid CSS color name?
✗ Incorrect
Only 'blue' is a valid CSS color name. The others are invalid formats.
What CSS property changes the text color?
✗ Incorrect
The 'color' property sets the text color in CSS.
Are CSS color names case sensitive?
✗ Incorrect
CSS color names are not case sensitive; any case works.
Which color name will make text red?
✗ Incorrect
The color name 'red' sets the color red.
Why use color names instead of hex codes?
✗ Incorrect
Color names are easier to remember and type than hex codes.
Explain how to use a CSS color name to change the background color of a webpage.
Think about the CSS property that controls background color.
You got /3 concepts.
List some advantages and disadvantages of using CSS color names compared to hex codes.
Consider simplicity versus variety.
You got /4 concepts.