code: def example_lab_to_ipt():
      
  
      print("=== Simple Example: XYZ->IPT ===")
      # Instantiate an XYZ color object with the given values.
      xyz = XYZColor(0.5, 0.5, 0.5, illuminant='d65')
      # Show a string representation.
      print(xyz)
      # Convert to IPT.
      ipt = convert_color(xyz, IPTColor)
      print(ipt)
      print("=== End Example ===\n")
docs: This function shows a simple conversion of an XYZ color to an IPT color.