BCO
const
Color & Contrast
Blue channel luminance coefficient used in the WCAG relative-luminance formula (IEC 61966-2-1). Combined with RCO and GCO to compute perceptual luminance from linearised RGB values.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Resolved value
Ecosystem
Used by
Composables and components that consume this constant.
useColor
useContrastRatio
Usage
Examples
Ready-to-paste code snippets using this constant.
Computing WCAG relative luminance