BLK_THRS

const
Color & Contrast

Black-clamp threshold used in the APCA contrast algorithm. Luminance values below this threshold are soft-clamped with BLK_CLMP to avoid division-by-zero and infinite-contrast artefacts.

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.

Applying the black clamp in APCA luminance

typescript