BLK_CLMP
const
Color & Contrast
Soft-clamp factor applied to near-black values in the APCA contrast algorithm. Prevents the luminance of very dark colours from reaching absolute zero, which would produce infinite contrast ratios.
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.
Applying the black clamp in APCA luminance