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