Question · HTML and CSS course · Module 9: Modern CSS

The color-mix() Function in CSS

What does the function color-mix(in srgb, blue 70%, white) do in CSS?

Answer options

  • Sets blue color with 70% transparency
  • Mixes 70% blue with 30% white to create a lighter shade of blue
  • Creates a gradient from blue to white
  • Animates a color change from blue to white

You can check the correct answer by solving this task in the CodeWorlds game.