All Versions
20
Latest Version
Avg Release Cycle
41 days
Latest Release
1841 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v2.1.0
October 31, 2019 -
v2.0.6
August 28, 2019 -
v2.0.5
August 28, 2019 -
v2.0.4
June 17, 2019 -
v2.0.3 Changes
February 16, 2019- 0๏ธโฃ hsl2rgb will, like other x2rgb conversions now set the default alpha to 1
-
v2.0.2 Changes
December 11, 2018- ๐ use a more mangle-safe check for Color class constructor to fix issues with uglifyjs and terser
-
v2.0.1 Changes
December 11, 2018- โ added
chroma.valid()
for checking if a color can be parsed by chroma.js
- โ added
-
v2.0.0 Changes
December 10, 2018- 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
-
v1.4.1 Changes
- chroma.scale() now interprets
null
as NaN and returns the fallback color. Before it had interpretednull
as0
- โ added
scale.nodata()
to allow customizing the previously hard-coded fallback (aka "no data") color #cccccc
- chroma.scale() now interprets
-
v1.4.0 Changes
- color.hex() now automatically sets the mode to 'rgba' if the colors alpha channel is < 1. so
chroma('rgba(255,0,0,.5)').hex()
will now return"#ff000080"
instead of"#ff0000"
. if this is not what you want, you must explicitly set the mode torgb
using.hex("rgb")
. - ๐ bugfix in chroma.average in LRGB mode (#187)
- chroma.scale now also works with just one color (#180)
- color.hex() now automatically sets the mode to 'rgba' if the colors alpha channel is < 1. so