Added ColorValidator and InvalidColorException classes