attrForegroundNew

fnpango.attribute.Attribute attrForegroundNew(ushort red, ushort green, ushort blue)

Create a new foreground color attribute.

Parameters

redthe red value (ranging from 0 to 65535)
greenthe green value
bluethe blue value

Returns

the newly allocated

[pango.attribute.Attribute], which should be freed with [pango.attribute.Attribute.destroy]