LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-22-2005, 05:28 AM   #1
whfarrar
LQ Newbie
 
Registered: Dec 2004
Location: Houston, TX
Distribution: SuSE 10 / SLES 9 /Xandros 3.0
Posts: 2

Rep: Reputation: 0
Question Looking for a list or chart of colors


I'm looking for a list or a chart of colors. I've used the helpful search features for this forum and others, but I didn't find exactly what I'm looking for.

I would like to see if there is a full chart listing the meaning of the color numbers I've seen (fi=32, di=34, etc) What do those numbers mean? How would I find the list or chart of what those numbers mean? What colors are mapped to what numbers?

I've looked on tldp.org and couldn't find it either, and a search on Google lead me to several places, but nothing quite like what I'm looking for.

If I want to set or change the colors in a terminal, how would I know what colors I would end up with if I don't know what those numbers will render?

I hope my question makes sense.

Thank you,
Woody
 
Old 07-22-2005, 08:51 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Hi,

This is not an official list, but as far as I know it's accurate:

Attribute codes
00=none
01=bold
04=underscore
05=blink
07=reverse
08=concealed

Text color codes
30=black
31=red
32=green
33=yellow
34=blue
35=magenta
36=cyan
37=white

Background color codes
40=black
41=red
42=green
43=yellow
44=blue
45=magenta
46=cyan
47=white

Hope this helps.
 
Old 07-22-2005, 09:19 AM   #3
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
druuna, I'm going to add this to the wiki- if you don't mind.
http://wiki.linuxquestions.org/wiki/Color_Codes

titanium_geek

Last edited by titanium_geek; 07-22-2005 at 09:27 AM.
 
Old 07-22-2005, 09:29 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Hi,

My first, indirect, addition to wiki

As you migth expect: I don't mind at all.
 
Old 07-22-2005, 03:26 PM   #5
whfarrar
LQ Newbie
 
Registered: Dec 2004
Location: Houston, TX
Distribution: SuSE 10 / SLES 9 /Xandros 3.0
Posts: 2

Original Poster
Rep: Reputation: 0
Smile Thank you druuna!

I knew Linux Questions was the place to go for answers. Thank you - that was exactly what I was looking for.

Thank you all!

Woody
 
  


Reply

Tags
color


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE 3.3 window list colors grayFalcon Linux - General 2 01-19-2005 04:45 AM
Would u like to see a total posts chart? LinuxLala LQ Suggestions & Feedback 7 04-07-2004 09:07 AM
flow chart sw allelopath Linux - General 1 04-06-2004 06:02 AM
C RT Chart of data DaFrEQ Programming 0 02-18-2004 09:44 AM
/dev chart chrismiceli Linux - General 2 03-29-2003 03:19 PM


All times are GMT -5. The time now is 05:56 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration