added sanitization for color scheme