Method ConvertSRGBToActiveColorSpace
ConvertSRGBToActiveColorSpace(Color)
Converts the provided sRGB color to the current active color space.
Declaration
public static Color ConvertSRGBToActiveColorSpace(Color color)
Parameters
Type | Name | Description |
---|---|---|
Color | color | Input color. |
Returns
Type | Description |
---|---|
Color | Linear color if the active color space is ColorSpace.Linear, the original input otherwise. |