Skip to content

Clarify how to use the default color #1242

Answered by dankamongmen
joseluis asked this question in Q&A
Discussion options

You must be logged in to vote

To simplify, we will assume that all terminals have all of a) default colors b) palette-indexed and c) RGB colors.

First off, everything maps to the RGB domain. A palette is just a set of RGB values. The default colors are RGB. There are no colors accessible via defaults/palettes that are not accessible via RGB.

The default colors are a single foreground and background color, set by the terminal, and usually exposed to user configuration. My terminals -- my shells -- have black backgrounds with white text, because i'm a sane fucking human being. Some people prefer black on white. I once worked with someone who, swear-to-God, used goldenrod on salmon. It was the ugliest thing i've ever see…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@joseluis
Comment options

joseluis Dec 21, 2020
Collaborator Author

@dankamongmen
Comment options

@joseluis
Comment options

joseluis May 3, 2021
Collaborator Author

@dankamongmen
Comment options

Answer selected by joseluis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants