chroma.js v2.0.0 Release Notes
Release Date: 2018-12-10 // over 5 years ago-
- chroma.js has been ported from CoffeeScript to ES6! This means you can now import parts of chroma in your projects!
- ๐ changed HCG input space from [0..360,0..100,0..100] to [0..360,0..1,0..1] (to be in line with HSL)
- โ added new object unpacking (e.g.
hsl2rgb({h,s,l})
) - ๐ changed default interpolation to
lrgb
in mix/interpolate and average. - ๐ if colors can't be parsed correctly, chroma will now throw Errors instead of silently failing with console.errors