CIE L*u*v* and XYZ color spaces in d3.js
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
d3-color-cie-luv-xyz.js
package.json

README.md

CIE L*u*v* and XYZ color spaces in d3.js

This plugin defines constructors and interpolating functions analogous to the native ones:

  • d3.color.luv(l,u,v)
  • d3.color.xyz(x,y,z)
  • d3.color.interpolateLuv(a,b)
  • d3.color.interpolateXYZ(a,b)

Both L*a*b* and L*u*v* are intended as uniform color spaces -- matching perceptual color difference with euclidean distance.

See this example.