Replacing coded colors with stylesheet references