ANSI Color Specific RGB Sequence Bash
问题 I know that in bash terminals a reliable way to change color is using ANSI escape sequences. For example: echo -e "\033[0;31mbrown text\033[0;00m" should output brown text (in brown) Is there a way to output color using a specific RGB set with ANSI? Say I want bright red: echo -e "**\033[255:0:0m**red text\033[0;00m" Does this sort of thing exist? I just want to use standard bash. 回答1: Both answers here fail to mention the Truecolor ANSI support for 8bpc color. This will get the RGB color the