COLOR_DELTA_Y_MIN

const
Color

Minimum luminance delta (Y) for APCA contrast math. Values below this threshold are clamped to avoid division-by-zero in the contrast-ratio pipeline.

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.

Clamping luminance before APCA division

typescript