changed printout of XYZ to read RGB