Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
RunKit + npm: chroma-js
node v10.18.0
version:
master
endpoint
share
tweet
var chroma = require("chroma-js") console.log( chroma('hotpink').hex(), chroma('hotpink').darken().hex(), f = chroma.bezier( ['white', 'orange', '#c93384'] ).scale().out('hex'), [0,0.25,0.5,0.75,1].map(f) )
Created from: https://npm.runkit.com/chroma-js
Loading…
1 comment
posted
a year ago
by
anspage
ANS#anspage
sign in
to comment