SRGB_FORWARD_MATRIX
const
Color & Theming
XYZ-to-sRGB linear transformation matrix (3×3) used in the color pipeline to convert CIE XYZ tristimulus values to linear sRGB channel values before gamma expansion via SRGB_FORWARD_TRANSFORM.
TypeScript
Définition
La définition TypeScript telle qu'elle apparaît dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.
Entrées
Valeurs
Toutes les entrées de cette constante. Cliquez sur une valeur pour la copier dans le presse-papiers.
- [3.2406, -1.5372, -0.4986]
- Red channel row of the XYZ→sRGB matrix.
- [-0.9689, 1.8758, 0.0415]
- Green channel row of the XYZ→sRGB matrix.
- [0.0557, -0.2040, 1.0570]
- Blue channel row of the XYZ→sRGB matrix.
Écosystème
Utilisé par
Composables et composants qui consomment cette constante.
color.util.ts
Usage
Exemples
Extraits de code prêts à coller utilisant cette constante.
Applying the XYZ→sRGB matrix (internal use)