Sourced from chroma-js's releases.
v2.6.0
What's Changed
- 🎉 NEW: color.tint + color.shade (thanks to
@​trembyin gka/chroma.js#246)- fix: remove false w3c color cornflower (thanks to
@​friedPotat0in gka/chroma.js#298)- docs: replace website with archive by
@​Artoria2e5in gka/chroma.js#264Full Changelog: https://github.com/gka/chroma.js/compare/v2.5.0...v2.6.0
v2.5.0
What's Changed
- 🎉 Big code refactoring to ES modules plus dependency and build setup updates by
@​gka&@​zyyvin gka/chroma.js#336- Update 404 links in readme.md by
@​rdelain gka/chroma.js#326- Update readme.md by
@​JiatLnin gka/chroma.js#307New Contributors
@​zyyvmade their first contribution in gka/chroma.js#336@​rdelamade their first contribution in gka/chroma.js#326@​JiatLnmade their first contribution in gka/chroma.js#307Full Changelog: https://github.com/gka/chroma.js/compare/v2.3.0...v2.5.0
Sourced from chroma-js's changelog.
2.6.0
- 🎉 NEW: add https://github.com/gka/chroma.js/blob/main[https://github.com/gka/chroma.js/blob/main`https://github.com/gka/chroma.js/blob/mainchttps://github.com/gka/chroma.js/blob/mainohttps://github.com/gka/chroma.js/blob/mainlhttps://github.com/gka/chroma.js/blob/mainohttps://github.com/gka/chroma.js/blob/mainrhttps://github.com/gka/chroma.js/blob/main.https://github.com/gka/chroma.js/blob/mainshttps://github.com/gka/chroma.js/blob/mainhhttps://github.com/gka/chroma.js/blob/mainahttps://github.com/gka/chroma.js/blob/maindhttps://github.com/gka/chroma.js/blob/mainehttps://github.com/gka/chroma.js/blob/main(https://github.com/gka/chroma.js/blob/main)https://github.com/gka/chroma.js/blob/main`https://github.com/gka/chroma.js/blob/main]https://github.com/gka/chroma.js/blob/main(https://github.com/gka/chroma.js/blob/main#https://github.com/gka/chroma.js/blob/mainchttps://github.com/gka/chroma.js/blob/mainohttps://github.com/gka/chroma.js/blob/mainlhttps://github.com/gka/chroma.js/blob/mainohttps://github.com/gka/chroma.js/blob/mainrhttps://github.com/gka/chroma.js/blob/main-https://github.com/gka/chroma.js/blob/mainshttps://github.com/gka/chroma.js/blob/mainhhttps://github.com/gka/chroma.js/blob/mainahttps://github.com/gka/chroma.js/blob/maindhttps://github.com/gka/chroma.js/blob/mainehttps://github.com/gka/chroma.js/blob/main)https://github.com/gka/chroma.js/blob/main, https://github.com/gka/chroma.js/blob/main[https://github.com/gka/chroma.js/blob/main`https://github.com/gka/chroma.js/blob/mainchttps://github.com/gka/chroma.js/blob/mainohttps://github.com/gka/chroma.js/blob/mainlhttps://github.com/gka/chroma.js/blob/mainohttps://github.com/gka/chroma.js/blob/mainrhttps://github.com/gka/chroma.js/blob/main.https://github.com/gka/chroma.js/blob/mainthttps://github.com/gka/chroma.js/blob/mainihttps://github.com/gka/chroma.js/blob/mainnhttps://github.com/gka/chroma.js/blob/mainthttps://github.com/gka/chroma.js/blob/main(https://github.com/gka/chroma.js/blob/main)https://github.com/gka/chroma.js/blob/main`https://github.com/gka/chroma.js/blob/main]https://github.com/gka/chroma.js/blob/main(https://github.com/gka/chroma.js/blob/main#https://github.com/gka/chroma.js/blob/mainchttps://github.com/gka/chroma.js/blob/mainohttps://github.com/gka/chroma.js/blob/mainlhttps://github.com/gka/chroma.js/blob/mainohttps://github.com/gka/chroma.js/blob/mainrhttps://github.com/gka/chroma.js/blob/main-https://github.com/gka/chroma.js/blob/mainshttps://github.com/gka/chroma.js/blob/mainhhttps://github.com/gka/chroma.js/blob/mainahttps://github.com/gka/chroma.js/blob/maindhttps://github.com/gka/chroma.js/blob/mainehttps://github.com/gka/chroma.js/blob/main)https://github.com/gka/chroma.js/blob/main.
- fix: remove false w3c color cornflower
2.5.0
- refactored code base to ES6 modules
2.4.0
- add support for Oklab and Oklch color spaces
2.3.0
- use binom of degree n in chroma.bezier
2.2.0
- use Delta e2000 for chroma.deltaE #269
2.0.3
- hsl2rgb will, like other x2rgb conversions now set the default alpha to 1
2.0.2
- use a more mangle-safe check for Color class constructor to fix issues with uglifyjs and terser
2.0.1
- added
chroma.valid()for checking if a color can be parsed by chroma.js2.0.0
- 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
lrgbin mix/interpolate and average.- if colors can't be parsed correctly, chroma will now throw Errors instead of silently failing with console.errors
1.4.1
- chroma.scale() now interprets
nullas NaN and returns the fallback color. Before it had interpretednullas0- added
scale.nodata()to allow customizing the previously hard-coded fallback (aka "no data") color #cccccc1.4.0
- 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 torgbusing.hex("rgb").- bugfix in chroma.average in LRGB mode (#187)
- chroma.scale now also works with just one color (#180)
1.3.5
- added LRGB interpolation
1.3.4
- passing null as mode in scale.colors will return chroma objects
1.3.3
... (truncated)