UNPKG

rrggbbaa

Version:

Color code utility and converter library for NodeJS.

62 lines (33 loc) 904 B
# changelog ## 1.2.3 - fixed license link in readme.md again, stupid me ## 1.2.2 - webcolors.js was missing from GIT/NPM, added... ## 1.2.1 - fixed license link in readme.md ## 1.2.0 - detect and parse webcolors (red, black, etc) ## 1.1.7 - removed unused imports in parse.js - fixed a potential bug in hex parsing - removed console.info... ## 1.1.6 - fixed doc typo ## 1.1.5 - better regexp for detecting rgb and hex ## 1.1.4 - rrggbbaa() constructor can now take another instance of rrggbbaa and it will make a clone - parse() will now throw an exception if given not valid input ## 1.1.3 - moved alterComponent to a member function of rrggbbaa ## 1.1.2 - rrggbbaa.inverse() added ## 1.1.1 - toRgb(), toRgba(), toHex() and toHexa() utilities added. ## 1.0.3 - added changelog (this file) ## 1.0.2 - postversion script - fixed documentation a bit ## 1.0.0 - initial release.