From c8294934cdbe21e33e4f2d5cbfe060548495a645 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 22 Nov 2022 01:13:49 +0100 Subject: tis 22 nov 2022 01:13:49 CET --- Terminal Colors.wiki | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Terminal Colors.wiki (limited to 'Terminal Colors.wiki') diff --git a/Terminal Colors.wiki b/Terminal Colors.wiki new file mode 100644 index 0000000..a24d057 --- /dev/null +++ b/Terminal Colors.wiki @@ -0,0 +1,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 -- cgit v1.2.3