code: function parseRgb(rgbString) {
    const rgbRegex = /rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*[\d.]+\s*)?\)/;
    const match = rgbRegex.exec(rgbString);
    if (match) {
      const r = match[1];
      const g = match[2];
      const b = match[3];
      return { r, g, b };
    } else {
      return null;
    }
  }
docs: Return the individual RGB values from a CSS RGB/RGBA color string.