add color validation to progress bars