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

# rgb

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), and B (blue).

- red required `number`

- green required `number`

- blue required `number`

- uistyle `uistyle`

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

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

### Version history

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