from BGR
Creates new Color object from blue, green, and red
Return
new Color object for the red, green, blue
Parameters
blue
integer from 0-255
green
integer from 0-255
red
integer from 0-255
Throws
if any value is strictly >255 or <0
Creates new color object from an integer that contains the blue, green, and red bytes in the lowest order 24 bits.
Return
new color object for specified values
Parameters
bgr
the integer storing the blue, green, and red values
Throws
if any data is in the highest order 8 bits