RGBtoGRAY
This function is used to return a grayscale color that corresponds to the specified color.
COLORREF RGBtoGRAY(
COLORREF rgb
);
Parameters
rgb
Original RGB color.
Return Value
The corresponding grayscale color.
Examples
None
This function is used to return a grayscale color that corresponds to the specified color.
COLORREF RGBtoGRAY(
COLORREF rgb
);
Original RGB color.
The corresponding grayscale color.
None