The available codes are:

     0    Normal text, foreground and background  
     1    Bold text
     4    Underline
     5    Blink
     7    Inverse
     8    Invisible

    30    Black   foreground
    31    Red     foreground
    32    Green   foreground
    33    Yellow  foreground
    34    Blue    foreground
    35    Magenta foreground
    36    Cyan    foreground
    37    White   foreground

    40    Black   background
    41    Red     background
    42    Green   background
    43    Yellow  background
    44    Blue    background
    45    Magenta background
    46    Cyan    background
    47    White   background
    49    default background # Unsure if this one works as-is
