Open this example in the interactive library
Source code
<style>
.demo {
background-color: color-mix(in oklab, skyblue 35%, white);
}
</style>
<div class="demo">Mix two colours in a perceptual space</div>
Mix two colours in a perceptual space with native CSS. The preview includes a small shared demo stylesheet.
Open this example in the interactive library
<style>
.demo {
background-color: color-mix(in oklab, skyblue 35%, white);
}
</style>
<div class="demo">Mix two colours in a perceptual space</div>