What does each of the color palette entries change the color of?
up vote
0
down vote
favorite
I've been editing my color profile and experimenting with what each entry changes the color of.
For reference this is what I'm talking about:
I've looked everywhere for a list of what each color palette entry changes the color for, but ended up empty handed
This is what I know so far for each "Palette entry #":
- 1 highlight color
- 2 String color
- 3 ? color of a certain highlight
- 4 ? python 'def' and 'TODO' color
- 5 ? Commented code, color of text when highlighted by "color palette 3"
- 6 ? imports/ escaped characters
- 7 ? function color main, print
- 8 ?
- 9 ?
- 10 color of text under a certain highlight
- 11 ? run-able file / executable / zip files
- 12 ?
- 13 Directory color
- 14 ? PNG files, pictures
- 15 ?
- 16 ?
Is what I have so far correct? What do the other entries change the color of?
linux terminal colors
New contributor
add a comment |
up vote
0
down vote
favorite
I've been editing my color profile and experimenting with what each entry changes the color of.
For reference this is what I'm talking about:
I've looked everywhere for a list of what each color palette entry changes the color for, but ended up empty handed
This is what I know so far for each "Palette entry #":
- 1 highlight color
- 2 String color
- 3 ? color of a certain highlight
- 4 ? python 'def' and 'TODO' color
- 5 ? Commented code, color of text when highlighted by "color palette 3"
- 6 ? imports/ escaped characters
- 7 ? function color main, print
- 8 ?
- 9 ?
- 10 color of text under a certain highlight
- 11 ? run-able file / executable / zip files
- 12 ?
- 13 Directory color
- 14 ? PNG files, pictures
- 15 ?
- 16 ?
Is what I have so far correct? What do the other entries change the color of?
linux terminal colors
New contributor
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I've been editing my color profile and experimenting with what each entry changes the color of.
For reference this is what I'm talking about:
I've looked everywhere for a list of what each color palette entry changes the color for, but ended up empty handed
This is what I know so far for each "Palette entry #":
- 1 highlight color
- 2 String color
- 3 ? color of a certain highlight
- 4 ? python 'def' and 'TODO' color
- 5 ? Commented code, color of text when highlighted by "color palette 3"
- 6 ? imports/ escaped characters
- 7 ? function color main, print
- 8 ?
- 9 ?
- 10 color of text under a certain highlight
- 11 ? run-able file / executable / zip files
- 12 ?
- 13 Directory color
- 14 ? PNG files, pictures
- 15 ?
- 16 ?
Is what I have so far correct? What do the other entries change the color of?
linux terminal colors
New contributor
I've been editing my color profile and experimenting with what each entry changes the color of.
For reference this is what I'm talking about:
I've looked everywhere for a list of what each color palette entry changes the color for, but ended up empty handed
This is what I know so far for each "Palette entry #":
- 1 highlight color
- 2 String color
- 3 ? color of a certain highlight
- 4 ? python 'def' and 'TODO' color
- 5 ? Commented code, color of text when highlighted by "color palette 3"
- 6 ? imports/ escaped characters
- 7 ? function color main, print
- 8 ?
- 9 ?
- 10 color of text under a certain highlight
- 11 ? run-able file / executable / zip files
- 12 ?
- 13 Directory color
- 14 ? PNG files, pictures
- 15 ?
- 16 ?
Is what I have so far correct? What do the other entries change the color of?
linux terminal colors
linux terminal colors
New contributor
New contributor
edited Nov 13 at 19:50
New contributor
asked Nov 13 at 16:10
SPYBUG96
1034
1034
New contributor
New contributor
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
It works the other way around. The terminal emulator offers 2*8 colors for applications to choose from, in addition to the default foreground/background colors, and doesn't know / doesn't care how applications use them. (There are much more colors available for applications, but these are the standard ones, and the ones typically customized by the user.)
These colors are traditionally black, red, green, yellow (brown), blue, magenta, cyan, white (light gray) and their brighter counterpart. You can pick your exact favorite shade for them, there are a few predefined ones, but you can also create your own scheme (and of course no one forces you to actually pick colors that are similar to the usual values and correspond to the formal names, just as you did for the first color (white instead of black) (*), likely resulting in hardly readable look in several apps).
Each application decides on its own which colors it wants to use for which feature, context etc. You need to consult the documentation and settings of each application where you're interested in its use of colors.
For example, for the ls
command check the environment variable LS_COLORS
. You'll recognize the file extensions, plus there are two-letter keywords for file types. As for the values, 30–37 denote the first 8 colors as foreground ones; 90–97, or often 30–37 combined with 1 (or 01) denote the next 8 colors as foreground ones – although 1 (or 01) also makes the text bold. 40–47 stand for the first 8 colors and 100–107 for the next 8 colors as background ones. For mc
(Midnight Commander) the definitions are in the skin files under /usr/share/mc/skins
or a similar directory, and for its editor the syntax highlight files in the syntax
directory next to it. And so on... For every single application you have to individually check which colors it uses for what purpose, and whether (and if so, how) they allow to configure them. There's no common pattern or typical assignment of colors.
(*) There used to be a bug in gnome-terminal where the first color wasn't properly initialized on the UI, so perhaps it wasn't you changing it to white. This was fixed in gnome-terminal 3.20.3.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
It works the other way around. The terminal emulator offers 2*8 colors for applications to choose from, in addition to the default foreground/background colors, and doesn't know / doesn't care how applications use them. (There are much more colors available for applications, but these are the standard ones, and the ones typically customized by the user.)
These colors are traditionally black, red, green, yellow (brown), blue, magenta, cyan, white (light gray) and their brighter counterpart. You can pick your exact favorite shade for them, there are a few predefined ones, but you can also create your own scheme (and of course no one forces you to actually pick colors that are similar to the usual values and correspond to the formal names, just as you did for the first color (white instead of black) (*), likely resulting in hardly readable look in several apps).
Each application decides on its own which colors it wants to use for which feature, context etc. You need to consult the documentation and settings of each application where you're interested in its use of colors.
For example, for the ls
command check the environment variable LS_COLORS
. You'll recognize the file extensions, plus there are two-letter keywords for file types. As for the values, 30–37 denote the first 8 colors as foreground ones; 90–97, or often 30–37 combined with 1 (or 01) denote the next 8 colors as foreground ones – although 1 (or 01) also makes the text bold. 40–47 stand for the first 8 colors and 100–107 for the next 8 colors as background ones. For mc
(Midnight Commander) the definitions are in the skin files under /usr/share/mc/skins
or a similar directory, and for its editor the syntax highlight files in the syntax
directory next to it. And so on... For every single application you have to individually check which colors it uses for what purpose, and whether (and if so, how) they allow to configure them. There's no common pattern or typical assignment of colors.
(*) There used to be a bug in gnome-terminal where the first color wasn't properly initialized on the UI, so perhaps it wasn't you changing it to white. This was fixed in gnome-terminal 3.20.3.
add a comment |
up vote
1
down vote
accepted
It works the other way around. The terminal emulator offers 2*8 colors for applications to choose from, in addition to the default foreground/background colors, and doesn't know / doesn't care how applications use them. (There are much more colors available for applications, but these are the standard ones, and the ones typically customized by the user.)
These colors are traditionally black, red, green, yellow (brown), blue, magenta, cyan, white (light gray) and their brighter counterpart. You can pick your exact favorite shade for them, there are a few predefined ones, but you can also create your own scheme (and of course no one forces you to actually pick colors that are similar to the usual values and correspond to the formal names, just as you did for the first color (white instead of black) (*), likely resulting in hardly readable look in several apps).
Each application decides on its own which colors it wants to use for which feature, context etc. You need to consult the documentation and settings of each application where you're interested in its use of colors.
For example, for the ls
command check the environment variable LS_COLORS
. You'll recognize the file extensions, plus there are two-letter keywords for file types. As for the values, 30–37 denote the first 8 colors as foreground ones; 90–97, or often 30–37 combined with 1 (or 01) denote the next 8 colors as foreground ones – although 1 (or 01) also makes the text bold. 40–47 stand for the first 8 colors and 100–107 for the next 8 colors as background ones. For mc
(Midnight Commander) the definitions are in the skin files under /usr/share/mc/skins
or a similar directory, and for its editor the syntax highlight files in the syntax
directory next to it. And so on... For every single application you have to individually check which colors it uses for what purpose, and whether (and if so, how) they allow to configure them. There's no common pattern or typical assignment of colors.
(*) There used to be a bug in gnome-terminal where the first color wasn't properly initialized on the UI, so perhaps it wasn't you changing it to white. This was fixed in gnome-terminal 3.20.3.
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
It works the other way around. The terminal emulator offers 2*8 colors for applications to choose from, in addition to the default foreground/background colors, and doesn't know / doesn't care how applications use them. (There are much more colors available for applications, but these are the standard ones, and the ones typically customized by the user.)
These colors are traditionally black, red, green, yellow (brown), blue, magenta, cyan, white (light gray) and their brighter counterpart. You can pick your exact favorite shade for them, there are a few predefined ones, but you can also create your own scheme (and of course no one forces you to actually pick colors that are similar to the usual values and correspond to the formal names, just as you did for the first color (white instead of black) (*), likely resulting in hardly readable look in several apps).
Each application decides on its own which colors it wants to use for which feature, context etc. You need to consult the documentation and settings of each application where you're interested in its use of colors.
For example, for the ls
command check the environment variable LS_COLORS
. You'll recognize the file extensions, plus there are two-letter keywords for file types. As for the values, 30–37 denote the first 8 colors as foreground ones; 90–97, or often 30–37 combined with 1 (or 01) denote the next 8 colors as foreground ones – although 1 (or 01) also makes the text bold. 40–47 stand for the first 8 colors and 100–107 for the next 8 colors as background ones. For mc
(Midnight Commander) the definitions are in the skin files under /usr/share/mc/skins
or a similar directory, and for its editor the syntax highlight files in the syntax
directory next to it. And so on... For every single application you have to individually check which colors it uses for what purpose, and whether (and if so, how) they allow to configure them. There's no common pattern or typical assignment of colors.
(*) There used to be a bug in gnome-terminal where the first color wasn't properly initialized on the UI, so perhaps it wasn't you changing it to white. This was fixed in gnome-terminal 3.20.3.
It works the other way around. The terminal emulator offers 2*8 colors for applications to choose from, in addition to the default foreground/background colors, and doesn't know / doesn't care how applications use them. (There are much more colors available for applications, but these are the standard ones, and the ones typically customized by the user.)
These colors are traditionally black, red, green, yellow (brown), blue, magenta, cyan, white (light gray) and their brighter counterpart. You can pick your exact favorite shade for them, there are a few predefined ones, but you can also create your own scheme (and of course no one forces you to actually pick colors that are similar to the usual values and correspond to the formal names, just as you did for the first color (white instead of black) (*), likely resulting in hardly readable look in several apps).
Each application decides on its own which colors it wants to use for which feature, context etc. You need to consult the documentation and settings of each application where you're interested in its use of colors.
For example, for the ls
command check the environment variable LS_COLORS
. You'll recognize the file extensions, plus there are two-letter keywords for file types. As for the values, 30–37 denote the first 8 colors as foreground ones; 90–97, or often 30–37 combined with 1 (or 01) denote the next 8 colors as foreground ones – although 1 (or 01) also makes the text bold. 40–47 stand for the first 8 colors and 100–107 for the next 8 colors as background ones. For mc
(Midnight Commander) the definitions are in the skin files under /usr/share/mc/skins
or a similar directory, and for its editor the syntax highlight files in the syntax
directory next to it. And so on... For every single application you have to individually check which colors it uses for what purpose, and whether (and if so, how) they allow to configure them. There's no common pattern or typical assignment of colors.
(*) There used to be a bug in gnome-terminal where the first color wasn't properly initialized on the UI, so perhaps it wasn't you changing it to white. This was fixed in gnome-terminal 3.20.3.
edited Nov 13 at 23:32
answered Nov 13 at 23:22
egmont
1,4881714
1,4881714
add a comment |
add a comment |
SPYBUG96 is a new contributor. Be nice, and check out our Code of Conduct.
SPYBUG96 is a new contributor. Be nice, and check out our Code of Conduct.
SPYBUG96 is a new contributor. Be nice, and check out our Code of Conduct.
SPYBUG96 is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1375073%2fwhat-does-each-of-the-color-palette-entries-change-the-color-of%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown