User Tools

Site Tools


bash:colors:24-bit_rgb_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:24-bit_rgb_colors [2021/01/09 13:11] peterbash:colors:24-bit_rgb_colors [2021/01/09 13:35] (current) peter
Line 1: Line 1:
 ====== BASH - Colors - 24-bit RGB Colors ====== ====== BASH - Colors - 24-bit RGB Colors ======
 +
 +16777216 Colors.
 +
 +----
  
 ===== Format ===== ===== Format =====
  
 <code bash> <code bash>
-\033[38;2;R;G;B+ESC[ 38;2;⟨r⟩;⟨g⟩;⟨b⟩ m Select RGB foreground color 
 +ESC[ 48;2;⟨r⟩;⟨g⟩;⟨b⟩ m Select RGB background color
 </code> </code>
  
Line 10: Line 15:
  
   * **R** is RED; values 0 to 255.   * **R** is RED; values 0 to 255.
-  * **R** is BLUE; values 0 to 255. +  * **G** is GREEN; values 0 to 255. 
-  * **R** is GREEN; values 0 to 255.+  * **B** is BLUE; values 0 to 255.
  
 ---- ----
bash/colors/24-bit_rgb_colors.1610197914.txt.gz · Last modified: 2021/01/09 13:11 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki