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