Convert RGB Values to Integer

Takes a reference RGB color and splits into individual Red, Green and Blue integer components returning the values from 0 to 255.

 

Input Arguments

 

0

Color

RGB

The color to convert

 

Return Arguments

 

1

Integer

Red Color

Red component of the reference color

2

Integer

Green Color

Green component of the reference color

3

Integer

Blue Color

Blue component of the reference color

 

Returned Status

 

SUCCESS

This command always succeeds.

 

Remarks

None.