# Color32.Max

```csharp
static Color32 Max(Color32 a, Color32 b)
```

Returns a new color with each component being the maximum of the 2 given colors.

### Parameters

- `a` (`Color32`): Color A
- `b` (`Color32`): Color B

### Returns

`Color32`: The new color with maximum values.

Declared in [Color32](/api/Color32).
Assembly: `Sandbox.System`.
