Normalize mixed color input
Turn supported formats into one declared space and one reparsable representation.
Explore NormalizationPrepare colors for CSS, target display gamuts, and modern browser workflows.
Turn supported formats into one declared space and one reparsable representation.
Explore NormalizationSerialize a typed color in its native CSS notation or an explicitly supported target representation.
Explore CSS formattingTurn a named palette into stable CSS custom-property declarations without losing its keys.
Explore Palette export--theme-brand: #806eae;
--theme-accent: #d97706;
--theme-brand: #806eae;
--theme-accent: #d97706;
Build linear, radial, and conic gradient objects and emit their complete CSS functions.
Explore Gradient formattingTurn a deferred CSS color expression into a concrete color by supplying its missing context explicitly.
Explore CSS resolutionDerive a concrete color from source channels and visible channel math.
Explore Relative colorsoklch(from var(--brand)
calc(l + 0.1) c h)
Resolve a color custom property from an explicit context map or use its declared fallback.
Explore CSS variablesPreserve a weighted color-mix() expression for CSS or resolve it to one exact color in PHP.
Explore CSS color mixSelect the exact color from light-dark() by supplying an explicit light or dark scheme.
Explore Light and darkTurn currentColor into the exact foreground color supplied by server-side context.
Explore Current color