Terminal Guide

256 Color Decoration

Set: 58:5:...
Reset: 59

Change decoration color to specific palette color.

This has multiple possible forms.

(1)48:5:Ⓝadditional subparameters are ignored
(2)48;5:Ⓝadditional subparameters are ignored

The color palette can be modified by change/read palette color, set attribute replacement colors, Sequence not found: osc-6, activate/deactivate attribute replacement colors, reset palette colors and reset attribute replacement colors.

See 256 color foreground for the default palette.

vte ( ✔ )

xterm supports forms 1 and 3.

linuxvc ( ∅ )

🛆 Subparameters make the whole sequence ignored.