Links

Color

This page describes how you can use PTerm to print colored output

Color Type

PTerms color type is safe to use on every terminal that supports colored text. It follows the ANSI specifications and is very simple to use.

RGB Type

PTerms RGB type supports all 8 million colors of the RGB specification. It is not supported on older terminals, but PTerm will automatically convert it to the nearest ANSI color, if RGB is not supported.

Style Type

PTerms style type is a collection of foreground colors, background colors and decorators. It can be used to combine ANSI colors.