Skip to content

Commit

Permalink
Fixed ANSI color code for RGB.
Browse files Browse the repository at this point in the history
  • Loading branch information
jakob-bagterp committed Feb 8, 2025
1 parent 9c0862d commit a0577c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ansi-escape-codes/rgb-colors.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tags:

# 24-Bit RGB Colors in ANSI Escape Codes
## Structure
The 24-bit RGB color space represents a much broader array of colors. Simply use any number from `0` to `255` to set each of the red `r`, green `g`, and blue `b` colors in the sequences `38;2;r;g;b` for text color and `38;2;r;g;b` for background color:
The 24-bit RGB color space represents a much broader array of colors. Simply use any number from `0` to `255` to set each of the red `r`, green `g`, and blue `b` colors in the sequences `38;2;r;g;b` for text color and `48;2;r;g;b` for background color:

| Code | Placement |
| :----------------: | :--------: |
Expand Down

0 comments on commit a0577c4

Please sign in to comment.