node-colormin

Turn a CSS color into its smallest representation
  https://github.com/ben-eb/colormin
  0
  no reviews



Colormin works for rgb, rgba, hsl, hsla, hex & css color keywords. Note that colormin does not convert invalid CSS colors, as it is not a color validator.

For example, 'rgba(255, 0, 0, 1)' will be turned to 'red'.

Node.js is an event-based server-side JavaScript engine.