← You reach for Sass to mix colors. `color-mix()` does it natively.Quiz
color-mix() — native CSS color blending
For years, blending or shading a color in CSS meant reaching for Sass. color-mix() does it natively: two colors, a ratio, and a color space, resolved by the browser at runtime. These questions check the ratio semantics, why the color space argument changes the result, how it maps onto the old Sass functions, and how it degrades in older browsers.
questions7
pass mark70%
resultsat the end
No account needed. Answer all 7 questions, then see your score with every answer explained and a reference to the spec or MDN — pass and you can claim a certificate.