ThemeForest

JavaScript Color Calculation Toolkit: One.Color JS

One.color is a JavaScript color calculation toolkit, works in node.js and in the browser. The color object automatically installs implicit conversions to different color spaces when needed, and adds get/set/adjust methods of any color channel in any available color space.

All implicit conversions are done using floating point, so no precision is lost due to rounding errors when converting between color spaces.

Major Features

  • RGB, HSV, HSL and CMYK color space implementations
  • Alpha channel
  • Extensible architecture - implement your own color spaces easily
  • Chainable color manipulation
  • Seamless conversion between color spaces on demand
  • Outputs as Hex, RGB or HSV in css syntax with or without alpha channel

The code is fully documented, and you can use JSdoc to build the documentation.






Written by Shahbaz Saleem

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>