Quantcast
Channel: Brian Grinstead » color
Viewing all articles
Browse latest Browse all 3

TinyColor On npm

$
0
0

I have published my TinyColor package to the npm repository – https://npmjs.org/package/tinycolor2. Unfortunately it is called tinycolor2 since tinycolor was already taken.

After running

npm install tinycolor2

You can use tinycolor like so:

var tinycolor = require("./tinycolor");
console.log(tinycolor("red").toHex());

See the project homepage or the README for more info.


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images