chroma.js
chroma.js copied to clipboard
Brighten/Darken/Alpha methods returning `1`
I upgraded to 2.0.2 and started receiving an error that darken().hex() was not a function. I traced it down to the fact that darken() is now returning 1 instead of a Color
can you please post a full code example? all my .darken().hex() tests are passing