GetRealColor -- return representation of a color on the current screen (V1.5)
color = GetRealColor(col)
This function returns the color which represents the specified color on
the current screen. On 24-bit and 32-bit screens, the returned color is
always the same as the color you specified. On 15-bit and 16-bit screens,
the returned color is slightly different from the original color in most
cases because those screens do not have 16.7 million colors but only 65536
(16-bit screens) respectively 32768 (15-bit screens).
This is command is mostly used in connection with ReadPixel().
- color to find the representation for
- color which represents the specified input color
color = GetRealColor($FFFFFF)
Color will get the following values on...
1) 24-bit and 32-bit screens: $FFFFFF
2) 16-bit screens: $F8FCF8
3) 15-bit screens: $F8F8F8