#oklch

[ follow ]
fromCSS-Tricks
4 days ago

Approximating contrast-color() With Other CSS Features | CSS-Tricks

There have been a few drafts of a specification function for this functionality, most recently, contrast-color() (formerly color-contrast()) in the CSS Color Module Level 5 draft. But with Safari and Firefox being the only browsers that have implemented it so far, the final version of this functionality is likely still a ways off. There has been a lot of functionality added to CSS in the meantime; enough that I wanted to see whether we could implement it in a cross-browser friendly way today. Here's what I have: color: oklch(from <your color> round(1.21 - L) 0 0);
Web development
Web development
fromSmashing Magazine
1 month ago

Smashing Animations Part 8: Theming Animations Using CSS Relative Colour - Smashing Magazine

CSS relative colour values and OKLCH enable simpler, controllable theming and dynamic animation of SVG graphics, including time-based and interaction-based palette changes.
#css
Design
fromVolumecolor
4 months ago

Volume - 3D OKLCH Color Palette Creator

Volume transforms color selection into a 3D, OKLCH-based workflow enabling predictable hue shifts, modular palette edits, and harmonious, human-centered palettes.
UX design
fromJakub
5 months ago

What are OKLCH colors?

OKLCH is a perceptually uniform color model based on OKLab that ensures consistent lightness and chroma across hues, simplifying accurate palette creation.
[ Load more ]