# ambientLight

> Flat ambient lighting color.

## Definition

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

```csharp
public static Color ambientLight { get; set; }
```

### Remarks

Flat ambient lighting mode uses color. It has the same value as [RenderSettings.ambientSkyColor](/engine/6000.7/script-reference/unityengine/rendersettings/ambientskycolor.md).

```csharp
using UnityEngine;

public class Example : MonoBehaviour
{
    void  Start()
    {
        // Make the ambient lighting red
        RenderSettings.ambientLight = Color.red;
    }
}
```

Additional Resources: [RenderSettings.ambientMode](/engine/6000.7/script-reference/unityengine/rendersettings/ambientmode.md), [The Lighting window](/engine/6000.7/manual/lighting-overview/lighting-reference/lighting-window.md).
