terminal color formatter, supported nesting styles, C implementation.