Day 2. Hex2Rgb
Hex2Rgb is a ruby gem which lets you quickly convert HEX value of any color to its RGB value. Another useful utility is rgb2hex.
Usage
Hex2Rgb expects a hex value either in a full form (6 chars) or in the short form (3 chars). Hash symbol # at the beginnig is optional. It produces an RGB value triplet surrounded with square brackets
>> hex2rgb ff0090 # magenta
=> [255, 0, 144]
In mac osx terminal, # char should be escaped for hex2rgb to work, e.g.
>> hex2rgb \#ff0090
=> [255, 0, 144]

