checking if color exists