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