account for out of range color