Switch non-editor colors to variables.

This should be a completely non-breaking change but makes the code
easier to change and easier to read.