Functions Index :: S :: SplitRGBColor

[<< up one level]

Module:

clip :: core

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"

 

[<< top]