GamutDesk Logo
GamutDesk

Interactive Color Wheel & Sliders

Bidirectional color picker with synchronized HSL, RGB, and HEX controls. Copy color codes with zero latency.

Client-Side ArchitecturePrivate Client-Side Processing
Live Preview
#2563EB
rgb(37, 99, 235)
Quick Standard Swatches
RGB Channels (0 - 255)
Red37
Green99
Blue235
HSL Cylindrical Coordinates
Hue221°
Sat83%
Light53%
Synchronized Multi-Format Values
HEX Code
#2563EB
sRGB Channel
rgb(37, 99, 235)
HSL Cylindrical
hsl(221, 83%, 53%)
HSV / HSB
hsv(221, 84%, 92%)
CMYK Ink Process
cmyk(84%, 58%, 0%, 8%)
OKLCH Perceptual
oklch(54.6% 0.215 262.9)

Technical Specification & Mathematical Principles

Color channels are synchronized in real-time across Cartesian sRGB space, cylindrical HSL/HSV coordinates, subtractive CMYK ink separations, and perceptually uniform OKLCH coordinates.

Relative Lightness is computed as L = (max(R,G,B) + min(R,G,B)) / 2, while Saturation is normalized against available chromatic distance: S = delta / (1 - |2L - 1|).

OKLCH transforms sRGB through linear transfer matrices into LMS cone responses, computes cube-root non-linearities in Oklab, and derives polar Chroma (C = √(a² + b²)) and Hue angle (H = atan2(b, a)).

Frequently Asked Questions

What is bidirectional state binding in this color picker?
Bidirectional state binding ensures that adjusting any single color channel—whether Hue in HSL, Red in RGB, or typing directly into the HEX input—automatically updates all other representations instantaneously in sync.
Why should developers use OKLCH in modern CSS?
OKLCH is perceptually uniform. Unlike HSL where yellow at 50% lightness looks much brighter than blue at 50%, OKLCH lightness accurately matches human visual perception, preventing inconsistent contrast when building design systems.
What is the difference between HSL and HSV (HSB)?
Both models share cylindrical hue, but HSL defines lightness from black to white with pure colors at 50% L, whereas HSV defines value from black to full color with pure colors at 100% V.
Are CMYK values calculated using standard subtractive conversion?
Yes, CMYK values are computed using standard four-color process ink equations with black channel (K) extraction: K = 1 - max(R', G', B').

Related Design & Color Instruments