Method Luminance
Luminance(in Color)
Returns the luminance of the specified color. The input is considered to be in linear space with sRGB primaries and a D65 white point.
Declaration
public static float Luminance(in Color color)
Parameters
| Type | Name | Description | 
|---|---|---|
| Color | color | The color to compute the luminance for.  | 
    
Returns
| Type | Description | 
|---|---|
| float | A luminance value.  |