Colorimetry and magnitudes of asteroids