code: private static float[] CbCrToRGB(double[] cbcr, double y) {
          double cb = cbcr[0];
          double cr = cbcr[1];
  
          double r = 2 * (1 - KR) * cr + y;
          double b = 2 * (1 - KB) * cb + y;
          double g = (y - KR * r - KB * b) / KG;
  
          // Clip values to [0,1]
          r = clip(r);
          g = clip(g);
          b = clip(b);
  
          return new float[] {(float) r, (float) g, (float) b};
      }
docs: Convert a value pair cb,cr in the YCbCr color space to RGB.
  @see <a href="https://xmpp.org/extensions/xep-0392.html#algorithm-rgb">§5.4: CbCr to RGB</a>
  
  @param cbcr value pair from the YCbCr color space
  @return RGB value triple (R,G,B in [0,1])