{}OPF
DocsSchema referenceEdit on GitHub

Color Scheme

Schema for color-scheme records in the pptx.gallery library. Each scheme is a named palette with the twelve PowerPoint color slots (six accents, two darks, two lights, plus hyperlink and followed-hyperlink), s…

Schema $id

https://openpresentation.org/schema/opf-color-scheme/v1

Source

spec/schemas/color-scheme.schema.json

Field index

FieldTypeReqDefaultDescription
$schemaconstyesIdentifies this record as a color scheme in the openpresentation.org catalog.
idstringyesStable slug used by OPF documents to reference this color scheme. Lowercase kebab-case.
namestringyesHuman-readable scheme name shown in pickers.
summarystringOne-sentence positioning of the palette — what mood it evokes and where to use it.
descriptionstringLonger prose describing the palette and its intended use.
accent1stringAccent 1 color (hex). Mirrors the OOXML accent1 slot.
accent2stringAccent 2 color (hex). Mirrors the OOXML accent2 slot.
accent3stringAccent 3 color (hex). Mirrors the OOXML accent3 slot.
accent4stringAccent 4 color (hex). Mirrors the OOXML accent4 slot.
accent5stringAccent 5 color (hex). Mirrors the OOXML accent5 slot.
accent6stringAccent 6 color (hex). Mirrors the OOXML accent6 slot.
dark1stringDark 1 color (hex). Typically the deepest neutral; OOXML dark1.
dark2stringDark 2 color (hex). Secondary dark; OOXML dark2.
light1stringLight 1 color (hex). Typically the slide canvas; OOXML lt1.
light2stringLight 2 color (hex). Secondary light surface; OOXML lt2.
hyperlinkstringHyperlink color (hex). OOXML hlink.
followedHyperlinkstringFollowed-hyperlink color (hex). OOXML folHlink.
tagsarray<string>Free-form labels for filtering and search.
previewobjectVisual previews of the record, used by picker UIs and inline rendering. All sub-fields are optional; engines fall back gracefully when previews aren't available.

$schema

Type: const · Required · Default:

Identifies this record as a color scheme in the openpresentation.org catalog.

$schema.json
{
  "$schema": "https://openpresentation.org/schema/opf-color-scheme/v1"
}

id

Type: string · Required · Default: · Pattern: ^[a-z][a-z0-9-]*$

Stable slug used by OPF documents to reference this color scheme. Lowercase kebab-case.

id.json
{
  "id": "cool-horizon"
}

name

Type: string · Required · Default:

Human-readable scheme name shown in pickers.

name.json
{
  "name": "Cool Horizon"
}

summary

Type: string · Optional · Default:

One-sentence positioning of the palette — what mood it evokes and where to use it.

summary.json
{
  "summary": "Cool blue-green palette tuned for B2B SaaS and finance decks."
}

description

Type: string · Optional · Default:

Longer prose describing the palette and its intended use.

description.json
{
  "description": "A balanced cool-toned scheme: a deep navy dark slot pairs with mid-saturation blues and a teal accent for charts and callouts. Works well on both light and dark backgrounds."
}

accent1

Type: string · Optional · Default:

Accent 1 color (hex). Mirrors the OOXML accent1 slot.

accent1.json
{
  "accent1": "#2874A6"
}

accent2

Type: string · Optional · Default:

Accent 2 color (hex). Mirrors the OOXML accent2 slot.

accent2.json
{
  "accent2": "#1B4F72"
}

accent3

Type: string · Optional · Default:

Accent 3 color (hex). Mirrors the OOXML accent3 slot.

accent3.json
{
  "accent3": "#5499C7"
}

accent4

Type: string · Optional · Default:

Accent 4 color (hex). Mirrors the OOXML accent4 slot.

accent4.json
{
  "accent4": "#7BDBB2"
}

accent5

Type: string · Optional · Default:

Accent 5 color (hex). Mirrors the OOXML accent5 slot.

accent5.json
{
  "accent5": "#3AC67A"
}

accent6

Type: string · Optional · Default:

Accent 6 color (hex). Mirrors the OOXML accent6 slot.

accent6.json
{
  "accent6": "#24A89E"
}

dark1

Type: string · Optional · Default:

Dark 1 color (hex). Typically the deepest neutral; OOXML dark1.

dark1.json
{
  "dark1": "#000000"
}

dark2

Type: string · Optional · Default:

Dark 2 color (hex). Secondary dark; OOXML dark2.

dark2.json
{
  "dark2": "#011842"
}

light1

Type: string · Optional · Default:

Light 1 color (hex). Typically the slide canvas; OOXML lt1.

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

light2

Type: string · Optional · Default:

Light 2 color (hex). Secondary light surface; OOXML lt2.

light2.json
{
  "light2": "#F0F0F0"
}

tags

Type: array<string> · Optional · Default:

Free-form labels for filtering and search.

tags.json
{
  "tags": [
    "corporate",
    "blue",
    "calm"
  ]
}

preview

Type: object · Optional · Default:

Visual previews of the record, used by picker UIs and inline rendering. All sub-fields are optional; engines fall back gracefully when previews aren't available.

preview.json
{
  "preview": {}
}