See the Katex Documentation: Style, Color, Size, and Font for more information.
Note that: The last argument of the
colorbox commands is text again, not math. You have to use
$ again or else you get normal text font .
As colors you can use everything that works for HTML: names (see this table) or
#RRGGBB hex codes.
Edit: Fixed typo pointed out by @helado