SRGB_REVERSE_MATRIX
const
Color & Theming
sRGB-to-XYZ linear transformation matrix (3×3) used in the color pipeline to convert linear sRGB channel values to CIE XYZ tristimulus values. Paired with SRGB_REVERSE_TRANSFORM for the sRGB → XYZ direction.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Entries
Values
All entries in this constant. Click a value to copy it to clipboard.
- [0.4124, 0.3576, 0.1805]
- X channel row of the sRGB→XYZ matrix.
- [0.2126, 0.7152, 0.0722]
- Y channel row (luminance) of the sRGB→XYZ matrix.
- [0.0193, 0.1192, 0.9505]
- Z channel row of the sRGB→XYZ matrix.
Ecosystem
Used by
Composables and components that consume this constant.
color.util.ts
Usage
Examples
Ready-to-paste code snippets using this constant.
Applying the sRGB→XYZ matrix (internal use)