or null if it's not a color attribute
Attribute.asColor
pango.attr_color.AttrColor asColor()Returns the attribute cast to [pango.attr_color.AttrColor].
This is mainly useful for language bindings.
Returns
The attribute as [pango.attr_color.AttrColor],