BtColor.FromRgb Function

關閉描述

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.

關閉語法

BtColor.FromRgb(Red, Green, Blue)

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

相關主題