/etc/DIR_COLORS
cp /etc/DIR_COLORS ~/.dircolors
To customized colors you must use special string combination:
FILE-TYPE Attribute codes: Text color codes:Background color codes
Where,
- FILE-TYPE: is file type like DIR (for directories)
- 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
For example to define Bold Blue color for DIR file type, entry should look as follows:
DIR 01;34
http://www.cyberciti.biz/tips/where-is-color-of-ls-command-defined.html