DOM.RGBAColor

A structure holding an RGBA color.

{
  "id": "RGBAColor",
  "type": "object",
  "properties": [
    {
      "name": "r",
      "type": "integer",
      "description": "The red component, in the [0-255] range."
    },
    {
      "name": "g",
      "type": "integer",
      "description": "The green component, in the [0-255] range."
    },
    {
      "name": "b",
      "type": "integer",
      "description": "The blue component, in the [0-255] range."
    },
    {
      "name": "a",
      "type": "number",
      "optional": true,
      "description": "The alpha component, in the [0-1] range (default: 1)."
    }
  ],
  "description": "A structure holding an RGBA color."
}