aboutsummaryrefslogtreecommitdiff
path: root/Terminal Colors.wiki
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-11-22 01:13:49 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-11-22 01:13:49 +0100
commitc8294934cdbe21e33e4f2d5cbfe060548495a645 (patch)
treef09b9edd65451c672a77ccb84b4a65ada7112015 /Terminal Colors.wiki
parentMerge branch 'master' of git.hornquist.se:git/wiki-public (diff)
downloadwiki-public-c8294934cdbe21e33e4f2d5cbfe060548495a645.tar.gz
wiki-public-c8294934cdbe21e33e4f2d5cbfe060548495a645.tar.xz
tis 22 nov 2022 01:13:49 CET
Diffstat (limited to 'Terminal Colors.wiki')
-rw-r--r--Terminal Colors.wiki24
1 files changed, 24 insertions, 0 deletions
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