| |||||
Works with HSV, HSL, CMYK and RGB.
Also, it comes with alpha channel support in all color spaces.
Works for both client-side (browser) and server-side (Node.js) environments.
A demo is included with the download package.
Here are some key features of "One-color.js":
· RGB, HSV, and HSL colorspace support (a CMYK implementation also exists)
· Legal values for all channels are 0..1
· Instances are immutable -- a new object is created for each manipulation
· All internal calculations are done using floating point, so very little precision is lost due to rounding errors when converting between colorspaces
· Extensible architecture -- implement your own colorspaces easily
· Chainable color manipulation
· Seamless conversion between colorspaces
· Outputs as hex, rgb(...), rgba(...) or hsv(...)
Requirements:
· JavaScript enabled on client side

Via: One-color.js 2.3.4






0 Comment:
Post a Comment