Loading…
Loading…
Twenty questions on CSS color: hex, rgb(), hsl() and hwb(), currentColor and alpha, color spaces and oklch(), color-mix() and relative colors, color-scheme and light-dark(), and contrast, contrast-color() and forced colors, with explanations.
Review quiz for Part 5 (Color) of the CSS course:
Questions with code were checked in Chrome, in an empty page with only the browser's default styles. Aim for at least 14 out of 20 before starting Part 6.
Quiz path: step 5. Take the quizzes in this order, after reading each article.
Previous quiz: Values and Units (CSS Part 4)
Next quiz: Boxes and Visual Formatting (CSS Part 6)
20 questions · pass at 70%
Check your understanding; you see the answers and explanations after submitting.
Discussion
Sign in to ask a question or share what you learned.