{}OPF
DocsObject referenceEdit on GitHub

Solid Background

Fixed solid slide background fill.

Metadata

Definition

#/$defs/SolidBackground

Type

object

Source

spec/schemas/opf.schema.json

Fields

FieldTypeReqDescription
typeconstyesFixed solid background fill.
colorstringyesFixed solid fill color, usually a hex string. Use { type: 'theme', slot: ... } for PowerPoint's four theme-controlled background choices.
opacitynumberBackground opacity from 0 (fully transparent) to 1 (fully opaque).

type

Type: const · Required · Default:

Fixed solid background fill.

type.json
{
  "type": "solid"
}

color

Type: string · Required · Default:

Fixed solid fill color, usually a hex string. Use { type: 'theme', slot: ... } for PowerPoint's four theme-controlled background choices.

color.json
{
  "color": "#FFFFFF"
}

opacity

Type: number · Optional · Default:

Background opacity from 0 (fully transparent) to 1 (fully opaque).

opacity.json
{
  "opacity": 1
}