RT Cory LaViska
"Let's build a button that accepts one color and calculates its hover and focus states automatically. For this experiment, we'll use CSS Custom Properties, color-mix(), and OKLCH to ensure that tints and shades are perceptually uniform."
https://www.abeautifulsite.net/posts/better-buttons-with-color-mix-and-custom-properties/