CSS Color-Mix() - Opacities Demo

Using the CSS color-mix() function, we can experiment with the results of different base and blend color opacities. This feature is currently (15.4.2022) only available behind flags in Firefox and Safari Technology Preview .

50%
50%
Result

🚀 Bonus: We're using CSS color-contrast() to display the percentage values.

The color-mix() feature is not supported in your browser.