BtColor.FromRgb Function

FerméDescription

Creates a 32-bit color value from a 24-bit RGB value. The most significant byte (MSB) of the returned 32-bit color value, represented by the alpha component value, will be hex FF. The second, third, and fourth bytes, represented by RR, GG, and BB are the color components red, green, and blue, respectively.

FerméSyntaxe

BtColor.FromRgb(Red, Green, Blue)

Where Red, Green, Blue are values between 0 and 255.

Rubriques connexes