# List of All Colours Supported on MSE

Where is there a list or information on all the colours that can be rendered on Math StackExchange with $\color{...}$? I thought that http://en.wikibooks.org/wiki/LaTeX/Colors was the answer but some colours there do not appear to be supported here.

For example, $\color{BurntOrange}{\text{BurntOrange}}$ does not work but $\color{yellowgreen}{\text{YellowGreen does.}}$

• Black should be enough. Blue and red if you insist. YellowGreen is nearly invisible and makes my eyes hurt a lot. – Asaf Karagila Jul 17 '13 at 11:26
• @AsafKaragila You should follow the Handicap living SE proposal and post a couple of questions; colorblindness was mentioned before there. area51.stackexchange.com/proposals/57545/… – Brian Rushton Jul 17 '13 at 13:28
• @Brian: Thanks, but no thanks. I have a one community limit, and right now I am a member of two - which is only possibl because of the large intersection of them. – Asaf Karagila Jul 17 '13 at 13:39
• Maybe that's why it's called Mathoverflow... – Brian Rushton Jul 17 '13 at 15:44
• @Asaf. Cyan is even worse to my eyes than YellowGreen. – Rick Decker Jul 17 '13 at 16:06
• @Rick: I agree. All those "pale blue" shades are really just white. Once when I was in the army I was asked to make a colored spreadsheet in excel, adhering a usual coloring scheme (which I had only seen in print). When they saw the result they asked someone else to do it instead, and I was never asked to do things related to color ever again. – Asaf Karagila Jul 17 '13 at 16:16
• @Asaf. Heh. Electronic spreadsheets hadn't been invented when I was in the army. – Rick Decker Jul 17 '13 at 16:26
• @Rick: I have a general feeling that you and I had a very different army service in two very different countries. – Asaf Karagila Jul 17 '13 at 16:26
• @Asaf. Yeah, those muzzle-loading muskets we were issued were really heavy to carry around all day. – Rick Decker Jul 17 '13 at 16:34
• @Rick: As long as you're not Connor MacLeod, I think that you're going too far with this joke... ;-) – Asaf Karagila Jul 17 '13 at 16:45

It turns out that there are two implementation of \color in MathJax. The built-in version is based on HTML colors, so this is partly browser dependent (as some browsers define additional names like those from the X11 named colors). You can also use RGB color specifications like #CF8 or #C8F280.

The other implementation is the one in the color extension, which provides a more LaTeX-compatible version. This is the one whose documentation Willie Wong cited, but it is not the default version of \color. For that, you would have to use \require{color} here, since it is not included in the MSE configuration for MathJax.

• Perhaps, if so, it's worth asking for \require{color} to be active on MSE. – Asaf Karagila Jul 17 '13 at 22:26
• Argh... perhaps one should make a note here that \color does not in fact require the color extension... – Willie Wong Jul 18 '13 at 7:56
• @AsafKaragila: why? I thought you hate colors. – Willie Wong Jul 30 '13 at 8:07
• @Willie: I do. And my immense collection of plain black t-shirts is a witness of that (my only white shirt is the one I got from this site, actually. I never wore it...). However, using a color package will allow me to at least know the name of the colors by looking at the source code. – Asaf Karagila Jul 30 '13 at 8:16

You can use the RGB color model: $\color{#CF5300}{\text{BurntOrange}}$ is CF5300. It's not entirely clear, though, that MathJax isn't compressing some colors behind the scenes, since I experimented with some RGB colors and didn't get the results I expected to see. This is a moot point, though, since as Asaf and I have been saying for a while, one should use color here very sparingly, if at all.

• $\color{#C000FF}{\text{Good }}\color{#00A0FF}{\text{point}}\text{; }\color{#C00000}{\text{I }}\color{#00A000}{\text{couldn't }}\color{#0000FF}{\text{agree }}\color{#C0A000}{\text{more}}\text{.}$ :-) – robjohn Jul 17 '13 at 16:27
• @robjohn:$\vphantom{I think this color is the best color. If anything.}$ – Asaf Karagila Jul 17 '13 at 16:30
• @AsafKaragila: if you right-click on the timestamp for your last comment, does the contextual menu that allows you to copy the comment URL appear, or the contextual menu to get the MathJax source? – robjohn Jul 17 '13 at 17:13
• @robjohn. I see what you're getting at. Interesting. – Rick Decker Jul 17 '13 at 17:25
• @robjohn Besides the timestamp, Asaf's name is also not a hyperlink in that comment. (Left click does nothing for me) – 40 votes Jul 17 '13 at 18:42
• @40votes The same phenomenon appears in this comment. Note that the long hidden text in Asaf's comment allows you to scroll the Q/A part of the page quite far to the right, so apparently mathjax's \vphantom allocates horizontal white space before suppressing it. – Martin Jul 17 '13 at 19:26
• @Martin At first it looks like a way to post anonymous comments (if your displayed username isn't unique; e.g., there are multiple Martins). Thankfully, the anonymity isn't real: disabling Javascript restores the links, and there are other ways to link comments to their authors. – 40 votes Jul 17 '13 at 19:31
• @Martin: In that linked comment I wrote it this way particularly with quid in mind, as someone who doesn't compile MathJax, so he would be able to read my comment clearly as possible. On the other hand, I wanted to show support of Andres Caicedo and the point of using MathJax to generate whitespace. – Asaf Karagila Jul 17 '13 at 22:04
• Another way to hide the space reserved by MathJax for the vphantomized text is to right-click on the affected area and choose "Math Settings > Scale All Math..." then enter 1%. To restore, simply right-click on a shrunken bit of MathJax and set the scale back to 100%. – robjohn Jul 18 '13 at 17:46
• @RickDecker: Thank you. The website does not allow multiple answers, so I have upvoted. – Greek - Area 51 Proposal Jul 30 '13 at 8:04

This should be filed as a bug against MathJax or its documentation. (I'd do it, but I don't like to use colors and so can't be bothered to register for GitHub just for this.)

The documentation implies (to me) that the 68 predefined colors are included. Those colors are given in this list. So BurntOrange should be available.

• Thank you. The website does not allow multiple answers, so I have upvoted. – Greek - Area 51 Proposal Jul 30 '13 at 8:03