Method Brightness
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
Brightness(Color)
Returns the brightness of the color, defined as the average off the three color channels.
public static float Brightness(this Color color)
Parameters
color
Color