ColorExtensionsGetBrightness Method

Overload List

GetBrightness(Color32) Gets the brightness of a Color32 instance as a byte based on human perception. The A component of the specified value is ignored.
GetBrightness(Color64) Gets the brightness of a Color64 instance as a UInt16 based on human perception. The A component of the specified value is ignored.
GetBrightness(ColorF) Gets the brightness of a ColorF instance as a float value in the linear color space. The A component of the specified value is ignored.
GetBrightness(Color32, WorkingColorSpace) Gets the brightness of a Color32 instance as a byte based on human perception. The A component of the specified value is ignored.
GetBrightness(Color64, WorkingColorSpace) Gets the brightness of a Color64 instance as a UInt16 based on human perception. The A component of the specified value is ignored.
GetBrightness(ColorF, WorkingColorSpace) Gets the brightness of a ColorF instance as a float value in the linear color space. The A component of the specified value is ignored.

See Also