code: function adobe_rgb_to_xyz (r, g, b) {
  	// matrix is from http://www.brucelindbloom.com/
  	var x = r * 0.576700 + g * 0.185556 + b * 0.188212;
  	var y = r * 0.297361 + g * 0.627355 + b * 0.0752847;
  	var z = r * 0.0270328 + g * 0.0706879 + b * 0.991248;
  
  	return {
  		x: x, y: y, z: z
  	};
  }
docs: convert Adobe RGB (1998) with reference white D65 to XYZ