Query or Change Special Colors (OSC 5)
Query or change a special color based on its index.
- 0x1B
- ESC
- 0x5D
- ]
- 0x35
- 5
- 0x3B
- ;
- ____
- n
- 0x3B
- ;
- ____
- c
- 0x1B
- ESC
- 0x5C
- \
Query or change the special color corresponding to n depending on the
value of c.
n and c behave nearly identically to OSC 4, and may
also be repeated multiple times in one sequence. The difference is that n
now ranges between 0 and 4 inclusive, corresponding to the five special colors.