Works/HuePlay
HuePlay
An interactive, visual tool for understanding the difference between the traditional HSL colour model and the modern, perceptually uniform OKLCH colour space.
SectorOpen source · Colour toolYear2025RoleDesign and implementationView livesamuraicoder.dev ->View codeView code ->
- The challenge
- HSL looks intuitive but lies: two colours with the same lightness value can look nothing alike in brightness.
- The solution
- A side-by-side playground where you move the same colour in both models and watch the perception change, so the difference is something you see rather than read about.
- The outcome
- A small teaching tool that makes perceptual uniformity obvious in a couple of minutes.
Built to be opened, not read: every control updates both models at once, and the swatches show the same lightness value diverging in real time.
[02] Contact
Got a similar challenge?
Every operation has its quirks. Tell me yours and we'll see what can be simplified.