CSS element output, color attribute auto-correction