Hi, I'm Eric.

I’m an avid world traveler, photographer, software developer, and digital storyteller.

I help implement the Content Authenticity Initiative at Adobe.

Search Results

oklch() retains perceived lightness for different hue angles

Found on 26 November 2023 via Mastodon 472

via Stefan Judis (@stefan@front-end.social): A clear visual demonstration of why oklch() should replace hsl() for CSS color palettes: when you rotate the hue angle, oklch() maintains consistent perceived lightness while hsl() can shift dramatically. The interactive examples make the difference immediately obvious.

oklch() retains perceived lightness for different hue angles | Stefan Judis Web Development

If you’ve enjoyed this …

Subscribe to my free and occasional (never more than weekly) e-mail newsletter with my latest travel and other stories:

Or follow me on one or more of the socials: