CSS.getBackgroundColors

{
  "name": "getBackgroundColors",
  "parameters": [
    {
      "name": "nodeId",
      "$ref": "DOM.NodeId",
      "description": "Id of the node to get background colors for."
    }
  ],
  "returns": [
    {
      "name": "backgroundColors",
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The range of background colors behind this element, if it contains any visible text. If no visible text is present, this will be undefined. In the case of a flat background color, this will consist of simply that color. In the case of a gradient, this will consist of each of the color stops. For anything more complicated, this will be an empty array. Images will be ignored (as if the image had failed to load).",
      "optional": true
    },
    {
      "name": "computedFontSize",
      "type": "string",
      "description": "The computed font size for this node, as a CSS computed value string (e.g. '12px').",
      "optional": true
    },
    {
      "name": "computedFontWeight",
      "type": "string",
      "description": "The computed font weight for this node, as a CSS computed value string (e.g. 'normal' or '100').",
      "optional": true
    },
    {
      "name": "computedBodyFontSize",
      "type": "string",
      "description": "The computed font size for the document body, as a computed CSS value string (e.g. '16px').",
      "optional": true
    }
  ]
}