Created
January 19, 2022 09:07
True Color (24 bit) in Terminal Emacs (https://stackoverflow.com/questions/14672875/true-color-24-bit-in-terminal-emacs)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use colon separators. | |
xterm-24bit|xterm with 24-bit direct color mode, | |
use=xterm-256color, | |
setb24=\E[48:2:%p1%{65536}%/%d:%p1%{256}%/%{255}%&%d:%p1%{255}%&%dm, | |
setf24=\E[38:2:%p1%{65536}%/%d:%p1%{256}%/%{255}%&%d:%p1%{255}%&%dm, | |
# Use semicolon separators. | |
xterm-24bits|xterm with 24-bit direct color mode, | |
use=xterm-256color, | |
setb24=\E[48;2;%p1%{65536}%/%d;%p1%{256}%/%{255}%&%d;%p1%{255}%&%dm, | |
setf24=\E[38;2;%p1%{65536}%/%d;%p1%{256}%/%{255}%&%d;%p1%{255}%&%dm, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment