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

(贡献者:Krissi  编辑