
To apply this feature, please do following steps:

M圜olor = 0x000000FF ' return the value for red.ĪCA Color Picker Supports for Visual Basic Color CodeĪCA Color Picker supports for capturing the color value of any screen pixel and displays its value in VB Color Code. M圜olor = RGB(255, 0, 0 ) ' return the value for red, same as 0x000000FF The RGB function returns an Integer value representing an RGB color value from a set of red, green and blue color components: To create a color value in Vistual Basic, you can use the RGB function. The maximum value for a single byte is 0xFF. The low-order byte contains a value for the relative intensity of red the second byte contains a value for green and the third byte contains a value for blue.

When specifying an explicit RGB color, the value has the following hexadecimal form:

In Visual Basic, colours are generally represented by an Integer, a hexadecimal number in 4 bytes.
