You are not logged in.

#1 2015-04-20 15:37:06

feklee
Member
Registered: 2015-04-03
Posts: 57
Website

urxvt: Use same colors as in virtual console?

How can I find out the color palette of the colors of the Linux virtual console?

I would like to use them for urxvt, the colors of which currently are a bit hard to read (e.g. directory names shown by ls):

URxvt*background: black
URxvt*foreground: white
URxvt*color0: black
URxvt*color1: red3
URxvt*color2: green3
URxvt*color3: yellow3
URxvt*color4: blue2
URxvt*color5: magenta3
URxvt*color6: cyan3
URxvt*color7: gray90
URxvt*color8: grey50
URxvt*color9: red
URxvt*color10: green
URxvt*color11: yellow
URxvt*color12: blue
URxvt*color13: magenta
URxvt*color14: cyan
URxvt*color15: white

Offline

#2 2015-04-28 11:01:42

feklee
Member
Registered: 2015-04-03
Posts: 57
Website

Re: urxvt: Use same colors as in virtual console?

What I did in the end:

  • Got the colors printed on screen, using Stefano Palazzo’s script, one of many available on the web.

  • Took a screenshot.

  • Used a color picker in a graphics application.

Colors are (rounding errors corrected):

URxvt*background: #000000
URxvt*foreground: #AAAAAA

URxvt*color0:  #000000
URxvt*color1:  #AA0000
URxvt*color2:  #00AA00
URxvt*color3:  #AA5500
URxvt*color4:  #0000AA
URxvt*color5:  #AA00AA
URxvt*color6:  #00AAAA
URxvt*color7:  #AAAAAA

URxvt*color8:  #555555
URxvt*color9:  #FF5555
URxvt*color10: #55FF55
URxvt*color11: #FFFF55
URxvt*color12: #5555FF
URxvt*color13: #FF55FF
URxvt*color14: #55FFFF
URxvt*color15: #FFFFFF

Offline

Board footer

Powered by FluxBB