Chroma.js Versions Save

JavaScript library for all kinds of color manipulations

v2.4.0

2 years ago

v2.3.0

2 years ago
  • use binom of degree n in chroma.bezier

v2.2.0

2 years ago

1.3.5

6 years ago
  • added LRGB interpolation

v1.3.3

7 years ago
  • bugfix in chroma.limits quantiles
  • bugfix when running scale.colors(1)
  • bugfix in hsi2rgb color conversion
  • added unit tests for color conversions

v1.3.1

7 years ago

v1.3.0

7 years ago
  • added chroma.distance
  • added chroma.deltaE
  • chroma.average now works with any color mode
  • color.set returns a new chroma instance
  • storing RGB channels as floats internally for higher precision
  • chroma.scale now allows disabling of internal cache
  • fixed bug with cubehelix and constant lightness

v1.1.1

8 years ago

v1.0.1

8 years ago
  • added simple color output to chroma.scale().colors()

Before:

chroma.scale('RdYlGn').domain([0,1], 5).colors()
// returns ['#a50026', '#f88d52', '#ffffbf', '#86cb66', '#006837']

Now:

chroma.scale('RdYlGn').colors(5)

v1.0.0

8 years ago
  • refactored the entire codebase so every function sits in its own file, requiring other files it needs. chroma.js now uses mbloch/catty to resolve inter-dependencies.
  • numeric interpolation now does what it should
  • changed argument order in Color::interpolate