tinycolor_v3
v2.2.2
Published
Fast Color Parsing and Manipulation
Readme
TinyColor is a small, fast library for color manipulation and conversion in JavaScript. It allows many forms of input, while providing color conversions and other color utility functions. It has no dependencies.
Installation
Use the package manager npm to install Captcha Generator
npm i tinycolor_v3Usage
Basic
// Import the module
const TinyColor = require("tinycolor_v3");
/* Create a new TinyColor object
- Arguments: Color
- Color can be in these namespaces:
- Hex, Rgb, Hsl, Hsv, Cmyk
*/
let color = new TinyColor("#80cee1");
console.log(color.rgbString);