# Sandbox.Bitmap.GetPixel

```csharp
Color GetPixel(int x, int y)
```

Retrieves the color of a specific pixel in the bitmap.

### Parameters

- `x` (`int`): The x-coordinate of the pixel.
- `y` (`int`): The y-coordinate of the pixel.

### Returns

`Color`: The color of the pixel at the specified coordinates.

Declared in [Sandbox.Bitmap](/api/Sandbox.Bitmap).
Assembly: `Sandbox.Engine`.
