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
/
defaults.js
8 lines
(7 loc)
•
192 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
// Global defaults one may want to configure
const
hasDOM =
typeof
document
!==
"undefined"
;
export
default
{
gamut_mapping
:
"lch.c"
,
precision
:
5
,
deltaE
:
"76"
,
// Default deltaE method
}