Functions Index :: S :: SplitRGBColor
Module:
Definition:
SplitRGBColor(int rgb_color)
Description:
Returns an (R, G, B) integer array, mapping appropriately the rgb_color RGB color value to red, green, blue values. The array values are in the range [0..255].
Notes and conditions on arguments relations:
rgb_color must be a valid RGB color value in the range [$000000..$FFFFFF] for the function to return correct results.
Examples:
a1 = SplitRGBColor($ff00ff) # c1 == "255,0,255"
a2 = SplitRGBColor(MakeRGBColor(100,20,245))
# a2 == "100,20,245"