make sure color values are <= 255