rudimentary css color validation, fixes #7