Basic use
example.css
.brand {
color: oklch(0.45 0.12 230);
background: color-mix(in oklch, white 80%, #0f766e);
}
The CSS color system includes keywords, hex, and modern functions such as oklch() and color-mix().
.brand {
color: oklch(0.45 0.12 230);
background: color-mix(in oklch, white 80%, #0f766e);
}.brand {
color: oklch(0.45 0.12 230);
background: color-mix(in oklch, white 80%, #0f766e);
}.brand {
color: oklch(0.45 0.12 230);
background: color-mix(in oklch, white 80%, #0f766e);
}Keep learning CSS.
CODETOFUN NEWS
Get the latest IT news, programming updates, and technology trends directly on your phone.
Your daily dose of tech, straight to your feed.
2 people found this page helpful