<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [ERgbaShift](./rc-js-util.ergbashift.md)

## ERgbaShift enum

Bit offset for packed RGBA colors.

**Signature:**

```typescript
export declare enum ERgbaShift 
```

## Enumeration Members

<table><thead><tr><th>

Member


</th><th>

Value


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

A


</td><td>

`24`


</td><td>


</td></tr>
<tr><td>

B


</td><td>

`16`


</td><td>


</td></tr>
<tr><td>

G


</td><td>

`8`


</td><td>


</td></tr>
<tr><td>

R


</td><td>

`0`


</td><td>


</td></tr>
</tbody></table>

## Remarks

After masking zero fill right shift to unpack. Left shift to pack (0-255 as input). Stored as ABGR to allow packing of RGB into float32.

