colorutils library
Classes
- ColorUtils
- This ColorUtils library contains the color space conversion methods used by the Chalk class to support alternate colors spaces from RGB. An attempt is made to be as versitle in input parameters as possible, many routines accept floating point numbers from 0.0-1.0 (for percentages) or alternately integers from 0-255. References with detailed explainations of the various color models included here https://en.wikipedia.org/wiki/HSL_and_HSV https://en.wikipedia.org/wiki/HWB_color_model Complete history of the X11 color names : https://en.wikipedia.org/wiki/X11_color_names and CSS color names (derived from X11 color names): https://www.w3.org/wiki/CSS/Properties/color/keywords Many of these routines are based on work by Heather Arthur and javascript code that I have ported to dart from: https://github.com/Qix-/color-convert/blob/master/conversions.js