# Color32.LerpTo

```csharp
Color32 LerpTo(in Color32 target, float frac)
```

Performs linear interpolation between this and given colors.

### Parameters

- `in target` (`Color32`): 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.

### Returns

`Color32`

Declared in [Color32](/api/Color32).
Assembly: `Sandbox.System`.
