Function
Termboxattr_rgb
Description
Create a truecolor RGB attribute.
The RGB channels are stored in the low 24 bits of the attribute. Termbox uses them when the output mode supports truecolor.
Parameters
red-
Type:
uint8_tRed channel.
green-
Type:
uint8_tGreen channel.
blue-
Type:
uint8_tBlue channel.
flags-
Type:
TbgAttrFlagsStyle flags to combine with the color.
Return value
Type: TbgAttr
An attribute containing the RGB color and flags.