You are not logged in.
Hello all,
I'm trying to define URxvt display colors in .XDefaults. But I need help understanding some basic concepts: Many of the colors I try to define aren't displayed. How can I properly choose color codes that are available to my console emulator? What is the process you folks use in defining your console emulator colors. How do you know which ones are available and their codes (i'm running X in 24bit color depth)
Below is what I achieved so far (adapted from a theme by Aaron Griffin). But it was a a painful process to come up with working codes.
*background: rgb:00/00/00
*foreground: rgb:7f/7f/7f
*color0: rgb:00/00/00
*color1: rgb:9e/18/28
*color2: rgb:33/66/33
*color3: rgb:66/66/33
*color4: rgb:41/41/71
*color5: rgb:66/33/66
*color6: rgb:33/66/66
*color7: rgb:be/be/be
*color8: rgb:66/66/66
*color9: rgb:cc/99/99
*color10: rgb:66/99/66
*color11: rgb:96/8a/38
*color12: rgb:41/86/be
*color13: rgb:99/66/99
*color14: rgb:66/99/99
*color15: rgb:ff/ff/ff
Last edited by marfig (2010-08-13 15:08:20)
I probably made this post longer than it should only because I lack the time to make it shorter.
- Paraphrased from Blaise Pascal
Offline
I don't use the rgb colour codes, mine are like this:
*background: #111111
*foreground: #babdb6
...
For the codes I cheat using GIMP, I just pick a colour that I like, copy the code and put # in front of it.
Last edited by Varg (2010-08-13 14:37:24)
github - tweets
avatar: The Oathmeal
Offline
Ok, that was my problem.
Varg, you bring sanity back into my life.
Thanks.
I probably made this post longer than it should only because I lack the time to make it shorter.
- Paraphrased from Blaise Pascal
Offline
You can as well use the "official" color names as listed in Xterm256 color names for console Vim. This table also shows the rgb eqivalents.
To know or not to know ...
... the questions remain forever.
Offline
Those are for xterm, correct?
I mean, in URxvt I can choose from the whole gamut, but on xterm I'm limited to those?
I probably made this post longer than it should only because I lack the time to make it shorter.
- Paraphrased from Blaise Pascal
Offline
Ok, that was my problem.
Varg, you bring sanity back into my life.Thanks.
No problem
github - tweets
avatar: The Oathmeal
Offline