added in xyz rgb conversion functions