@orangecheck/design / normalizeHue
Function: normalizeHue()
function normalizeHue(c: OcSceneRGB, isDark: boolean): OcSceneRGB;
Defined in: tokens/scene-tokens.ts:84
Pin L into the mode's band + cap chroma (~C≤0.14) so every skin's field reads with equal weight — the raw brand tokens vary wildly in both.
Parameters
| Parameter | Type |
|---|---|
c | OcSceneRGB |
isDark | boolean |