Color32ToGray Method

Gets a Color32 instance that represents the matching gray shade of this Color32 instance based on human perception.

Definition

Namespace: KGySoft.Drawing.Imaging
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.0-rc.1
C#
public Color32 ToGray()

Return Value

Color32
A Color32 instance that represents the matching gray shade of this Color32 instance based on human perception.

See Also