finished isHexColor function
added unobtrusive js
fixed bug in which invalid codes sometimes reset to a white background,
stopped multiple error messages from showing up