Text this: Characterization of photodectors using a monochromator and a broadband light source in the XYZ color space