# ``twisted`.`python`.`_textattributes`.`_ForegroundColorAttr``

class documentation

`class _ForegroundColorAttr(_ColorAttr): (source)`

View In Hierarchy

Foreground color attribute.

Method | `__init__` | Undocumented

Inherited from `_ColorAttr`:

Method | `serialize` | Serialize the text attribute and its children.
Class Variable | `compareAttributes` | Undocumented
Instance Variable | `color` | Undocumented
Instance Variable | `ground` | Undocumented

Inherited from `_Attribute` (via `_ColorAttr`):

Method | `__getitem__` | Undocumented
Method | `__repr__` | Undocumented
Instance Variable | `children` | Child attributes.

Inherited from `FancyEqMixin` (via `_ColorAttr`, `_Attribute`):

Method | `__eq__` | Undocumented
Method | `__ne__` | Undocumented

def __init__(self, color): (source)
overrides `twisted.python._textattributes._ColorAttr.__init__`

Undocumented