User Tools

Site Tools


bash:colors

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
bash:colors [2021/01/09 12:57] peterbash:colors [2021/01/09 13:34] (current) peter
Line 7: Line 7:
 [[BASH:Colors:8-bit Colors|8-bit Colors]] [[BASH:Colors:8-bit Colors|8-bit Colors]]
  
-[[BASH:Colors:8-bit Colors|8-bit Colors]] +[[BASH:Colors:24-bit RGB Colors|24-bit RGB Colors]]
- +
----- +
- +
-===== Quick Reference ===== +
- +
-  * **3 and 4-bit colors**:  echo -e "\033[0;31mThis is in RED" +
-  * **8-bit colors**:  echo -e "\033[38;5;1mThis is in RED" +
-  * **RGB colors**:  echo -e "\033[38;2;255;0;0mThis is in RED"+
  
 ---- ----
bash/colors.1610197073.txt.gz · Last modified: 2021/01/09 12:57 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki