chroma.js is a small, zero-dependencies JavaScript library for dealing with colors!

Berlin, Germany
Joined October 2017
🎉🎉 Big news for chroma.js: 🎉🎉 The entire codebase has now been ported from CoffeeScript to ES6. That means you can now import/require parts of chromajs in your projects without needing to load the entire library!
2
22
chromajs retweeted
Sometimes I'm asked about color palettes for #dataviz. I use: 🎨 d3-scale-chromatic github.com/d3/d3-scale-chrom… for quick jobs 🎨 chromajs vis4.net/chromajs/ to make my own, keeping this guide in mind: blog.datawrapper.de/colors What do you usually do?
12
118
599
The best thing about #generative art is code reusability! Just drop in a solution previous sketch and 🎉. Now working in the CMY space and using @chroma_js to blend the colors.
2
1
Woa, @runkitdev is pretty sweet for just testing out JS libs like chroma.js in the browser... runkit.com/gka/5c10559520ffe…
3
14
Here's a quick demo script that loads just two color spaces but still uses the chroma api. The resulting rollup build is just 8.9k unminified (= 9% of full chromajs). gist.github.com/gka/d78b5ae1…
A quick writeup on Chroma.js, the most delightful color library I've ever seen. It's not an exhaustive tutorial for @code_punkt just enough to get you started. I'm still new to Chroma too :) 👉 swizec.com/blog/make-things-…
2
2
At some point in the future we might even change the default interpolation mode to linear RGB! youtube.com/watch?v=LKnqECcg…
The new version of @chroma_js added linear RGB interpolation and gamma correction. gka.github.io/chroma.js/#sca…
working on a data viz style guide & it's official: manipulating colors with ~math~ is the absolute coolest #chromajs
1
2
This is what I was made for: Mastering multi-hued color scales! vis4.net/blog/2013/09/master…
2
chromajs color scale helper - Tool to help us mastering multi-hued, multi-stops color... #JavaScript #Colors gka.github.io/palettes/
2
2
New designer map styles and color palettes on athletedataviz.com thanks to @chromajs and @mapbox. #dataviz #cycling
9
1
13
chromajs retweeted
Playing with color because found @driven_by_data's #chromajs (gka.github.io/chroma.js/) and it is my newest love 💖 bl.ocks.org/sxywu/533cece25d…
3
11