colour validation fix