## Bitmap.GetPixel method

Gets the color of the specified pixel in this Bitmap.

```csharp
public Color GetPixel(int x, int y)
```

| Parameter | Type | Description |
| --- | --- | --- |
| x | Int32 | The x-coordinate of the pixel to retrieve. |
| y | Int32 | The y-coordinate of the pixel to retrieve. |

### Return Value

A Color structure that represents the color of the specified pixel.

### See Also

* struct [Color](../../color/)
* class [Bitmap](../)
* namespace [Aspose.Drawing](../../bitmap/)
* assembly [Aspose.Drawing.Common](../../../)


