One-color.js 2.4.2

A JavaScript library for working with color conversions
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.

Main features:

  • 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(...)

last updated on:
August 9th, 2014, 11:10 GMT
developed by:
license type:
BSD License
operating system(s):
Windows / Linux / Mac OS
C: \ Graphics and Multimedia \ Graphics and Animations


In a hurry? Add it to your Download Basket!

user rating



Add your review!