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