-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCOLOR_MATRICES.json
More file actions
27 lines (27 loc) · 814 Bytes
/
Copy pathCOLOR_MATRICES.json
File metadata and controls
27 lines (27 loc) · 814 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"schemaVersion": 1,
"foundationVersion": "1.1",
"whitePoint": "D65",
"sRGBToXYZ": {
"matrix": [
[0.4124564, 0.3575761, 0.1804375],
[0.2126729, 0.7151522, 0.0721750],
[0.0193339, 0.1191920, 0.9503041]
],
"description": "sRGB to XYZ conversion matrix (D65 white point)"
},
"xyzToLab": {
"referenceWhite": {
"Xn": 0.95047,
"Yn": 1.00000,
"Zn": 1.08883
},
"delta": 0.20689655172413793,
"description": "XYZ to Lab conversion parameters (D65 white point)",
"fFunction": {
"threshold": 0.008856451679035631,
"formula": "f(t) = t^(1/3) if t > delta^3 else t/(3*delta^2) + 4/29"
}
},
"note": "These matrices are IMMUTABLE. Any change requires new schemaVersion and new asset class. System/OS color APIs are forbidden."
}