Solid Background
Fixed solid slide background fill.
Metadata
Field index
| Field | Type | Req. | Description |
|---|---|---|---|
| type | const | yes | Fixed solid background fill.
|
| color | ref:ColorRef | yes | Fixed solid fill color: a hex string, a color-scheme slot or role name, or a var:<id> variable reference (a ColorRef, resolved against the effective color scheme and the deck variables). Use { type: 'theme', slot: ... } for PowerPoint's four theme-controlled background choices.
|
| opacity | number | — | Background opacity from 0 (fully transparent) to 1 (fully opaque). |
type
typeconstrequiredyesdefault—
Fixed solid background fill.
type· Allowed values"solid"
{
"type": "solid"
}color
typeref:ColorRefrequiredyesdefault—
Fixed solid fill color: a hex string, a color-scheme slot or role name, or a var:<id> variable reference (a ColorRef, resolved against the effective color scheme and the deck variables). Use { type: 'theme', slot: ... } for PowerPoint's four theme-controlled background choices.
Named choices are not exhaustive. See the schema for other values and constraints.
color,color (anyOf 4).color· Named choices"accent1", "accent2", "accent3", "accent4", "accent5", "accent6", "dark1", "dark2", "light1", "light2", "hyperlink", "followedHyperlink", "primary", "secondary", "accent", "background", "surface", "surfaceAlt", "text", "textSecondary"
{
"color": "#FFFFFF"
}opacity
typenumberrequirednodefault—
Background opacity from 0 (fully transparent) to 1 (fully opaque).
Complete definition constraints
{
"type": "object",
"additionalProperties": false,
"description": "Fixed solid slide background fill.",
"required": [
"type",
"color"
],
"properties": {
"type": {
"type": "string",
"const": "solid",
"description": "Fixed solid background fill."
},
"color": {
"$ref": "#/$defs/ColorRef",
"description": "Fixed solid fill color: a hex string, a color-scheme slot or role name, or a var:<id> variable reference (a ColorRef, resolved against the effective color scheme and the deck variables). Use { type: 'theme', slot: ... } for PowerPoint's four theme-controlled background choices.",
"examples": [
"#FFFFFF",
"#0F172A",
"#F8FAFC"
]
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1,
"description": "Background opacity from 0 (fully transparent) to 1 (fully opaque)."
}
}
}