Fast, small color manipulation and conversion for JavaScript
TinyColor is a library for parsing color input and outputting colors as different formats. Input is meant to be as permissive as possible.
red - 0f0 - rgb 255 128 128 - hsl(0, 100%, 50%) - hsv 0, 100%, 50%
| Lighten | |
|---|---|
| Darken | |
| Saturate | |
| Desaturate | |
| Greyscale | |
| Brighten | |
| Most Readable | |
| Triad | |
| Tetrad | |
| Monochromatic | |
| Analogous | |
| Split Complements |
Developed by Brian Grinstead. Big thanks to the following places: