UNPKG
colorjs.io
Version:
alpha (0.6.0-alpha.1)
latest (0.5.2)
0.6.0-alpha.1
0.5.2
0.5.1
0.5.0
0.4.5
0.4.4
0.4.4-patch.1
0.4.3
0.4.2
0.4.1
0.4.1-patch.1
0.4.0
0.3.0
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.0
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Let’s get serious about color
colorjs.io
LeaVerou/color.js
colorjs.io
/
src
/
spaces
/
xyz-d65.js
19 lines
(17 loc)
•
271 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import ColorSpace
from
"../space
.js
"; export default new ColorSpace({ id:
"xyz-d65"
, name:
"XYZ D65"
, coords: {
x
: {name:
"X"
},
y
: {name:
"Y"
}, z: {name:
"Z"
}, }, white:
"D65"
, formats: {
color
: { ids: [
'xyz-d65'
,
'xyz'
], } }, aliases: [
'xyz'
], });