Colorful Linux Terminal
I have created a script to send report on daily basis,but management want some of the line colorful ,
As always believe "zaroorat aijad ki maa hai" so I get tips of colorful terminal,
following are the point.
===================================
Color code in linux.
Black 0;30 Dark Gray 1;30
Red 0;31 Light Red 1;31
Green 0;32 Light Green 1;32
Brown/Orange 0;33 Yellow 1;33
Blue 0;34 Light Blue 1;34
Purple 0;35 Light Purple 1;35
Cyan 0;36 Light Cyan 1;36
Light Gray 0;37 White 1;37
====================================================
type of color sequence:
- 3/4 bit
- 8 bit
- 24 bit
Modes:
color-mode
0
reset1;
lighter than normal2;
darker than normal- ===============
text-mode
3;
italic4;
underline5;
blinking (slow)6;
blinking (fast)7;
reverse8;
hide9;
cross-out
Comments
Post a Comment