Preparing search index...
The search index is not available
Color.js API Docs - v0.6.0-alpha.1
Color.js API Docs
index-fn
distance
Function distance
distance
(
color1
,
color2
,
space
?
)
:
number
Euclidean distance of colors in an arbitrary color space
Parameters
color1
:
ColorTypes
color2
:
ColorTypes
space
:
string
|
Space
= "lab"
Returns
number
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
Color.js API Docs - v0.6.0-alpha.1
Loading...
Euclidean distance of colors in an arbitrary color space