color-mix lets you mix colours in CSS at runtime, in any of the supported colour spaces.
color-mix
https://developer.chrome.com/docs/css-ui/css-color-mix
[[css]]