# Color.Darken

```csharp
Color Darken(float fraction)
```

Darkens the color by given amount.

### Parameters

- `fraction` (`float`): How much to darken the color by, in range of 0 (not at all) to 1 (fully black). Negative values will lighten the color.

### Returns

`Color`: The darkened color.

Declared in [Color](/api/Color).
Assembly: `Sandbox.System`.
