Menu

#Srgb

6 posts

Feed·
6 of 6 posts
Why sRGB Euclidean Distance Fails on Paint Swatches (And How CIEDE2000 Fixes It)
📰
0Read More

Why sRGB Euclidean Distance Fails on Paint Swatches (And How CIEDE2000 Fixes It)

DEV Community: javascript·Someesim·9 days ago
#vS5kD9vP
#devtojavascript#devto#dev#paint#standard

If you sample a wall color from a room photograph—say #DCE3E6—and search a database of 15,000...

15s
Chris’ Corner: Colors – CodePen
🖼️
0Read More

Chris’ Corner: Colors – CodePen

#codepen#color#gradient#space#oklch

Gradients can look super different depending on what color space you have them interpolate in. It's sRGB by default, and there is a decent chance you've never even thought about it. But it's a small syntax change to change that, as Keith Grant documents.…

15s
Perceptual Color Systems in JavaScript: OKLCH Conversion and WCAG 2.1 Contrast Auto-Fix
📰
0Read More

Perceptual Color Systems in JavaScript: OKLCH Conversion and WCAG 2.1 Contrast Auto-Fix

DEV Community: css·Bastien Sulyan·25 days ago
#5jval6gf
#devtocss#devto#dev#math#perceptual

Design systems built on cylindrical hsl(h, s, l) math consistently run into the same perceptual flaw:...

15s