---
title: "rgba · RUAL Documentation"
description: "R (red), G (green), B (blue) and A (alpha)."
canonical: https://docs.rual.nl/block-types/styling/uistyle_rgba
language: en
---

# rgba

This block is part of the [`styling`](https://docs.rual.nl/block-types/styling) group and was last modified in core [`v10.4.28`](https://docs.rual.nl/core-versions/100428).

R (red), G (green), B (blue) and A (alpha).

- red required `number`

- green required `number`

- blue required `number`

- alpha required `number`

- uistyle `uistyle`

A typical wiring for [rgba](https://docs.rual.nl/block-types/styling/uistyle_rgba): the `uistyle` out pin feeds [regular card](https://docs.rual.nl/block-types/state%20ui/state_card).

![Studio canvas example for the rgba block: typical wiring for rgba.](https://docs.rual.nl/canvas-examples/uistyle_rgba.png)

### Version history

Introduced in [`v10.4.28`](https://docs.rual.nl/core-versions/100428).
