Skip to content

Commit 52329e2

Browse files
authored
Update colors.md
1 parent 0fae30b commit 52329e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/colors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ These rules apply to all command-line programs, not just Rust ones.
2121

2222
Terminals may support one of three color palettes:
2323
* *Truecolor (16 million colors):* 24-bit color; 8 bits for each of red, green and blue. This is the standard that web pages and most monitors support. You may have seen these colors written as e.g. <span style="color:#9b4fd1">#9b4fd1</span>.
24-
* *256 colors:* 18-bit color; 6 bits for each of red, green and blue. [This page by Pádraig Brady](http://www.pixelbeat.org/docs/terminal_colours/#256) has more information about them.
24+
* *256 colors:* 8-bit color; the 16 colors above, a 6×6×6 cube for each of red, green and blue, and 24 grayscale tones. [This page by Pádraig Brady](http://www.pixelbeat.org/docs/terminal_colours/#256) has more information about them.
2525
* *16 colors:* 4-bit color; black, red, green, yellow, blue, magenta, cyan, white, and a "bright" version of each.
2626

2727
**The default color schemes in applications *must* be restricted to 12 colors: red, green, yellow, blue, magenta, cyan, and the bright versions of each of these.**

0 commit comments

Comments
 (0)