imagemagick-colors

1.0.2 • Public • Published

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-colors
var colors = require('imagemagick-colors')
 
var name = 'LavenderBlush3'
var color = colors[name.toLowerCase()]
 
console.log(color) // outputs rgb(205, 193, 197)

/imagemagick-colors/

    Package Sidebar

    Install

    npm i imagemagick-colors

    Weekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • marekhrabe