35 set magenta foreground
36 set cyan foreground
37 set white foreground
-38 set underscore on, set default foreground color
-39 set underscore off, set default foreground color
+38 256/24-bit foreground color follows, shoehorned into 16 basic colors
+39 set default foreground color
40 set black background
41 set red background
42 set green background
45 set magenta background
46 set cyan background
47 set white background
+48 256/24-bit background color follows, shoehorned into 8 basic colors
49 set default background color
.TE
.PP
+Commands 38 and 48 require further arguments:
+.TS
+l l.
+;5;x T{
+256 color: values 0..15 are IBGR (black, red, green, ... white),
+16..231 a 6x6x6 color cube, 232..255 a grayscale ramp
+T}
+;2;r;g;b 24-bit color, components go 0..255
+.TE
+.PP
.B ECMA-48 Mode Switches
.TP
ESC [ 3 h