DOM.RGBA

A Structure holding an RGBA color.

{
  "id": "RGBA",
  "type": "object",
  "description": "A Structure holding an RGBA color.",
  "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 is 1."
    }
  ]
}