struct

Ansi::XRGBColor

Inherits Struct < Value < Object

XRGBColor is a color that can be formatted as an XParseColor rgb: string.

See: https://linux.die.net/man/3/xparsecolor

Constructors

new(color : Color | Nil = nil)
Source

Instance methods

color
Source
rgba

RGBA returns the RGBA values of the color.

Source
to_s

String returns the color as an XParseColor rgb: string.

Source