colorconverter

Convert between RGB, HSL and HEX color defining with these JavaScript functions under MIT-License

ColorConverter.js

Convert between RGB, HSL and HEX color defining with these JavaScript functions under MIT-License take a look at the to PHP translated version: https://github.com/SimonWaldherr/ColorConverter.php

License: MIT
Version: 0.1.1
Date: 04.2014

  • npm: https://npmjs.org/package/colorconverter
  • git: git@github.com:SimonWaldherr/ColorConverter.js.git
  • zip from GitHub

Test this code on the associated github page simonwaldherr.github.com/colorconverter.js/.

. RGB HSL HSV YUV Hex CMYK
RGB . X X X X X
HSL X . . . X .
HSV X . . . . .
YUV X . . . . .
Hex X X . . . .
CMYK X . . . . .

Feel free to contact me via eMail or on Twitter. This software will be continually developed. Suggestions and tips are always welcome.