Skip to content
Convert between RGB, YUV, HSL, CMYK and HEX color defining with these JavaScript functions under MIT-License
JavaScript CoffeeScript CSS
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
.sizecache.json
Gruntfile.js
boxes.html
colorconverter.coffee
colorconverter.js
colorconverter.min.js
complexity.html
gradient-hue.html
gradient.html
index.html
mix.html
nodecolorconv.js
package.json
parse.html
readme.md
slider.html
style.css

readme.md

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

about

License: MIT
Version: 0.1.2
Date: 09.2014

download

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

demo

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

matrix

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

contact

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

Something went wrong with that request. Please try again.