imagemagick-colors
v1.0.2
Published
Lookup table of ImageMagick colors
Downloads
8
Readme
ImageMagick colors
A lookup table of colors that ImageMagick knows. Mind that colors in this table are lowercased, so you shold lookup LavenderBlush3 as lavenderblush3 to get its rgb or rgba string value.
Usage
npm install imagemagick-colorsvar colors = require('imagemagick-colors')
var name = 'LavenderBlush3'
var color = colors[name.toLowerCase()]
console.log(color) // outputs rgb(205, 193, 197)