Added error class for color