Skip to content

RgbaColor

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

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

optional alpha?: number

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

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


blue: number

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

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


green: number

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

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


red: number

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

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


© 2026 SixtyFPS GmbH