getRgb(src, srcOffset, output = new Uint8ClampedArray(3)) {
    this.getRgbItem(src, srcOffset, output, 0);
    return output;
  }
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].