Skip to content

RgbaColor

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

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:369

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


blue: number

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

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


green: number

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

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


red: number

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

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


© 2026 SixtyFPS GmbH