ImgRGB

Top  Previous  Next

Prototype

 

intColor:=ImgRGB (intRed, intGreen, intBlue)

 

Description

 

Built a RGB color code beginning from red, green and blue component (0..255).

 

Parameters

 

intRed: integer value corresponding to red component.

 

intGreen: integer value corresponding to green component.

 

intBlue: integer value corresponding to bklue component.

 

Returned Value

 

intColor: Color code.

 

Notes

 

None.

 

Example

 

//Built color code

Color:=ImgRGB (138, 43, 226);