01 · Color Models
HEX, RGB & HSL Representations
Web displays mix additive Red, Green, and Blue light across 8-bit channels (0–255 per channel, or 16,777,216 total colors). A HEX code like #15803D is simply the base-16 shorthand of rgb(21, 128, 61).
Because raw RGB channels are unintuitive to shift harmoniously, EmverDeck converts your base color into cylindrical HSL (Hue 0–360°, Saturation 0–100%, Lightness 0–100%) so hue angle, vividness, and brightness can be adjusted independently.
02 · Color Theory
Harmonic Wheel Rules & Swatch Locking
Classical color harmonies distribute hues symmetrically around the 360° color wheel while staggering lightness steps across your 1–10 swatches:
Analogous: H ± 25° · Complementary: H + 180° · Triadic: H ± 120°
Split-Complementary (H + 150°, H + 210°) softens pure complementary tension, while Monochromatic holds Hue constant and varies Lightness. Lock any favorite swatch and press Space to iterate only unlocked slots.
03 · Accessibility
WCAG 2.1 Relative Luminance Formula
Every swatch automatically tests legible text contrast against white (#FFFFFF) and dark slate (#0F172A) using W3C sRGB gamma-linearized luminance:
L = 0.2126·R + 0.7152·G + 0.0722·B | Ratio = (L1 + 0.05) / (L2 + 0.05)
Because human photoreceptors weight green (71.5%) far more heavily than blue (7.2%), two colors with identical 50% HSL lightness can produce vastly different WCAG contrast scores.