TinyColor On npm
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.