Components.GetBrightness
Extension Method in Components
Declaration
public static float GetBrightness(this Color color)Description
Returns the brightness component of the color in the range [0..1] using the HSB color model.
Parameters
| color | The color to get the component from. |
Returns
| float | The brightness component of the color. |