Keep every application role aligned.
Transform a named light palette while preserving its keys and order.
Transform a complete palette$srgb = $color->to('srgb');$lab = $color->to('lab');$p3 = $color->to('display-p3');$oklch = $color->to('oklch');$rec2020 = $color->to('rec2020');Modern color engine
Parse modern CSS, move between typed color spaces, inspect channels, transform perceptually, and serialize the result without rebuilding color math in every application.
Hex · RGB · HSL · HWB · Lab · LCH · OKLab · OKLCH · color() · named colors · alpha
Parse · validate · convert · mix · blend · composite · interpolate · compare · repair · simulate · resolve · export
Color systems
Build related variants, named palettes, scales, harmonies, gradients, theme variants, and CSS tokens from the same immutable objects.
#806eae
oklch(0.58 0.10 296)
rebeccapurple
SrgbColor
--brand: #806eae$palette->interpolate(7)->darken(0.08)->toCssVariables('theme');
Color vision simulation
Transform the complete palette, then find meanings that rely too heavily on hue.
Explore vision simulationTransform and repair
Transform a named light palette while preserving its keys and order.
Transform a complete palette#3b82f6#468effModern CSS
Keep variables and relative channel math explicit, provide the missing context, then receive a concrete typed color.
#806eaeoklch(from var(--brand)
calc(l + 0.1) c h / alpha)OklchColorl + 0.1 · chroma, hue and alpha unchanged