Returns color representation in RGB format
Adapted from https://github.com/mjijackson
Red color value
Green color value
Blue color value
Hsl color
Returns array representation (ex: [100, 100, 200, 1]) of a color that's in HEX format
ex: FF5555 or FF5544CC (RGBa)
source
Calculate an in-between color. Returns a "rgba()" string. Credit: Edwin Martin edwin@bitstorm.org http://www.bitstorm.org/jquery/color-animation/jquery.animate-colors.js