bash:colors:24-bit_rgb_colors
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
bash:colors:24-bit_rgb_colors [2021/01/09 13:11] – peter | bash: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; | ||
</ | </ | ||
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