Six-color photometry of stars. VIII. The colors of 409 stars of different spectral types