GCO

const
Color

Green channel coefficient (0.7151522) used in the luminance formula of the APCA contrast algorithm. One of the three sRGB-to-luminance weights alongside RCO (0.2126729) and BCO (0.0721750).

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Resolved value

Ecosystem

Used by

Composables and components that consume this constant.

Usage

Examples

Ready-to-paste code snippets using this constant.

Computing sRGB luminance with APCA coefficients

typescript