Majors colors: Struct for distance computation