Module Spectrum_palettes.Terminal

Canonical terminal palette definitions for Spectrum.

Provides the standard ANSI-16 (Basic) and ANSI-256 (Xterm256) color palettes used by terminal emulators. Palettes are generated from JSON definitions using the %palette PPX extension.

Reference to the Palette module providing the palette signature.

exception InvalidColorName of string

Exception raised when an invalid color name is used.

module Basic : Palette.M

ANSI-16 basic color palette (codes 30-37, 90-97).

ANSI-256 extended color palette (codes 0-255).