color-mix()
Copy HTML
<div class="color-mix"></div>Explore color-mix() by adjusting the color space, two colors, and their percentages. In polar spaces such as hsl, hwb, lch, and oklch you can also change hue interpolation and see the browser-resolved color in the generated code.
<div class="color-mix"></div>.color-mix {
background-color: color-mix(in srgb, #ff7a8a 50%, #6fd6ff 50%);
}