Each of these should be wrapped in \e[...m. For example, bright yellow foreground would be \e[93m
black | red | green | yellow | blue | magenta | cyan | white | |
---|---|---|---|---|---|---|---|---|
foreground | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 |
bright foreground | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 |
background | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 |
bright background | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 |