---
id: fast-colors.pixelblob.getpixelrgba
title: PixelBlob.getPixelRGBA() method
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-colors](./fast-colors.md) &gt; [PixelBlob](./fast-colors.pixelblob.md) &gt; [getPixelRGBA](./fast-colors.pixelblob.getpixelrgba.md)

## PixelBlob.getPixelRGBA() method

Returns an array of 4 numbers in the range \[0,255\] in order RGBA

<b>Signature:</b>

```typescript
getPixelRGBA(x: number, y: number): number[];
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  x | number |  |
|  y | number |  |

<b>Returns:</b>

number\[\]
