Skip to content

Releases: gka/chroma.js

3.1.0

08 Sep 07:32
@gka gka
Compare
Choose a tag to compare

What's Changed

  • feat: parse 'transparent' as black with 0% opacity - resolves #280
  • make it easier to access colorbrewer palette names - resolves #314
  • docs: explain differences to official colorbrewer scales - resolves #316
  • fix: correct parsing of modern css colors with percentage alpha - resolves #297
  • fix: css output for hue-less colors in lch() and oklch() - resolves #357

Full Changelog: v3.0.0...v3.1.0

v3.0.0

17 Aug 13:19
@gka gka
Compare
Choose a tag to compare

What's Changed

  • 🎉 NEW: Add support for modern CSS color spaces. This means you can now export and parse CSS colors in lab(), lch(), oklab(), oklch() space.
  • 🎉 NEW: you can now control the standard white reference point for the CIE Lab and CIE Lch color spaces via setLabWhitePoint.
  • Breaking: color.css() will no longer return legacy CSS colors like rgb(255, 255, 0) but use modern CSS colors like rgb(255 255 0) instead.
  • fix: switch to W3C implementation of OKLab color space
  • Bump follow-redirects from 1.14.7 to 1.15.6 by @dependabot in #338
  • Bump @babel/traverse from 7.16.10 to 7.25.2 by @dependabot in #339
  • chore: remove invalid file by @zyyv in #340
  • docs: fix dead links by @zyyv in #345
  • fix: not round for hsl2rgb by @zyyv in #344
  • pref: optimize test by @zyyv in #341
  • fix: repair non-default imports by @gka in #348

Full Changelog: v2.6.0...v3.0.0

v2.6.0

30 Jul 22:58
@gka gka
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.5.0...v2.6.0

v2.5.0

30 Jul 22:15
@gka gka
1a9b198
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.3.0...v2.5.0

v2.4.0

03 Feb 00:43
@gka gka
Compare
Choose a tag to compare

v2.3.0

27 Jan 16:14
@gka gka
Compare
Choose a tag to compare
  • use binom of degree n in chroma.bezier

v2.2.0

27 Jan 15:56
@gka gka
Compare
Choose a tag to compare
  • use Delta e2000 for chroma.deltaE #269
  • update dev dependencies

chroma 1.3.5

16 Dec 11:10
@gka gka
Compare
Choose a tag to compare
  • added LRGB interpolation

chroma 1.3.3

06 Apr 15:59
@gka gka
Compare
Choose a tag to compare
  • bugfix in chroma.limits quantiles
  • bugfix when running scale.colors(1)
  • bugfix in hsi2rgb color conversion
  • added unit tests for color conversions

chroma 1.3.1

04 Apr 11:33
@gka gka
Compare
Choose a tag to compare