aboutsummaryrefslogtreecommitdiff
path: root/Terminal Colors.wiki
blob: a24d0574aa02edd2a8e3602116c6829a743a2483 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
= Terminal Colors =

== Dynamic background colors ==
- https://medium.com/@joao.paulo.silvasouza/change-your-terminals-background-color-dynamically-using-escape-sequences-aba6e5ed2b29
- https://github.com/alacritty/alacritty/issues/656
- https://chromium.googlesource.com/apps/libapps/+/a5fb83c190aa9d74f4a9bca233dac6be2664e9e9/hterm/doc/ControlSequences.md#OSC

change foreground  :: `\033]10;#<6-digit-hexcode>\007`
change background  :: `\033]11;#<6-digit-hexcode>\007`
change cursor      :: `\033]12;#<6-digit-hexcode>\007`
terminal border bg :: `\033]708;#<6-digit-hexcode>\007`


# change individual color
`\033]4;{color};#FF0000\e\\`
1. Red
2. Green
3. Yellow
4. Blue
5. Purple
6. Cyan

== Misc ==
- [ ] Hur interagerar det med dawn/dusk