code: function ColorSpace_getRgb(src, srcOffset) {
        var rgb = new Uint8Array(3);
        this.getRgbItem(src, srcOffset, rgb, 0);
        return rgb;
      }
docs: Converts the color value to the RGB color. The color components are
  located in the src array starting from the srcOffset. Returns the array
  of the rgb components, each value ranging from [0,255].