---
title: "RgbaColor"
---
Defined in: api/node/rust-module.d.cts:474

RgbaColor represents a color in the Slint run-time, represented using 8-bit channels for red, green, blue and the alpha (opacity).

## Properties

### alpha?

> `optional` **alpha?**: `number`

Defined in: api/node/rust-module.d.cts:482

Represents the alpha channel of the color as u8 in the range 0..255.

***

### blue

> **blue**: `number`

Defined in: api/node/rust-module.d.cts:480

Represents the blue channel of the color as u8 in the range 0..255.

***

### green

> **green**: `number`

Defined in: api/node/rust-module.d.cts:478

Represents the green channel of the color as u8 in the range 0..255.

***

### red

> **red**: `number`

Defined in: api/node/rust-module.d.cts:476

Represents the red channel of the color as u8 in the range 0..255.