# operator /(Color, float)

> Divides color a by the float b. Each color component is scaled separately.

## Definition

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

```csharp
public static Color operator /(Color a, float b)
```

### Parameters

**** (\[Color]\(/engine/6000.0/script-reference/unityengine/color)): **** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)):&#x20;

### Returns

| Type                                                          | Description |
| ------------------------------------------------------------- | ----------- |
| [Color](/engine/6000.0/script-reference/unityengine/color.md) |             |

### Examples

```csharp
using UnityEngine;

public class Example : MonoBehaviour
{
    void Start()
    {
        Color grayColor = Color.white / 2;
    }
}
```
