Expand description
Colors for attributes
Structs§
- Linear
Rgba - A pixel value encoded as linear RGBA values in f32 format (range: 0.0-1.0)
- RgbColor
- Describes a color in the SRGB colorspace using red, green and blue components in the range 0-255.
- Srgba
Tuple - A pixel value encoded as SRGBA RGBA values in f32 format (range: 0.0-1.0)
Enums§
- Ansi
Color - These correspond to the classic ANSI color indices and are used for convenience/readability in code
- Color
Attribute - Specifies the color to be used when rendering a cell. This is the
type used in the
CellAttributes
struct and can specify an optional TrueColor value, allowing a fallback to a more traditional palette index if TrueColor is not available. - Color
Spec - Specifies the color to be used when rendering a cell.
This differs from
ColorAttribute
in that this type can only specify one of the possible color types at once, whereas theColorAttribute
type can specify a TrueColor value and a fallback.
Type Aliases§
- Palette
Index - An index into the fixed color palette.