color-mix()

baseline logo Widely available in browsers but not in WebViews

The color-mix() function mixes two colors in a given color space and by a given amount. Commonly, lighter or darker variations of a color are created by mixing with white or black.