# Sandbox.Bitmap.InvertColor

```csharp
void InvertColor()
```

Inverts the colors of the bitmap while preserving alpha.

Declared in [Sandbox.Bitmap](/api/Sandbox.Bitmap).
Assembly: `Sandbox.Engine`.
