I have an Archlinux installed on headless RaspberryPi. I'm using SSH to connect to it.

I've added some colors to bash with editing

sudo nano /home/pi/.bashrc

and adding:

PS1='[\[\e[1;34m\]\u\[\e[m\]@\[\e[1;32m\]\h\[\e[m\] \[\e[1m\]\W\[\e[m\]]\$'

The only problem is, that the colors like 1;34 is not displayed as Light Blue, but as Bold Blue which is hard to read on the black terminal. Is there any way to set the colors to their "light variants"?

  • 2
    \e[1;34m is bold, \e[0;34m is normal... – jasonwryan Nov 11 '13 at 19:35

Try using this site/service to generate the colors that you want.

NOTE: I think you're looking for the color Cyan to get light blue: (Cyan - 0;36).


ss of app#1

ss of app#2


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.