Added error class and changed body font-family to Sans-Serif.
Added checks for valid color values and basic error handling.