# linear

> A color value in linear space converted from an sRGB value.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.6/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public readonly Color linear { get; }
```

### Remarks

Colors are often expressed in sRGB [color space](/engine/6000.6/manual/materials-and-shaders/graphics-color/color-spaces/differences-linear-gamma-color-space.md). This property returns a color value in linear color space. Unity applies an inverse sRGB gamma curve transformation to get the value.

### Examples

```csharp
using UnityEngine;

public class Example : MonoBehaviour
{
    void Start()
    {
        Color newColor = new Color(0.3f, 0.4f, 0.6f);
        print(newColor.linear);
    }
}
```
