Colors
Colors copied to clipboard
A simple color manipulation javascript library.
Colors.js
A lightweight and easy to use color manipulation library.
How to Install
Via cdnJS:
//cdnjs.cloudflare.com/ajax/libs/Colors.js/1.2.4/colors.min.js
Via npm:
npm install colors.js
Use in Node.js:
var Colors = require('colors.js');
console.log( Colors.rand() );
Just a tidbit of what Colors.js can do:
- Change RGB to a Hexadecimal color.
- Change Hexadecimal to an RGB color.
- Change Hexadecimal to an HSV color.
- Get the complementary value of a Hexadecimal color.
- Get the complementary value of an RGB color.
- Named color to an RGB object, HSV object or Hexadecimal string.
- Get a random color in RGB or Hexadecimal.
- Plus a whole lot more...
For usage instructions, go to http://mbjordan.github.com/Colors/
NOTE: The license has been changed from Creative Commons Attribution-ShareAlike 3.0 Unported License to the MIT License!