Read default colors from CSS

Closes #1123
Just noting that this change is required since it seems if I wanted to statically define a color scale, the code seems to be run before the document is loaded, which means that all the colors would be the same, incorrect color.