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 .
🚀 Bonus: We're using CSS color-contrast() to display the percentage values.