# Color.LerpTo

```csharp
Color LerpTo(in Color target, float frac, bool clamp = True)
```

Performs linear interpolation between this and given colors.

### Parameters

- `in target` (`Color`): Color B
- `frac` (`float`): Fraction, where 0 would return this, 0.5 would return a point between this and given colors, and 1 would return the given color.
- `clamp` (`bool`), default `True`: Whether to clamp the fraction argument between [0,1]

### Returns

`Color`

Declared in [Color](/api/Color).
Assembly: `Sandbox.System`.
