Color Scheme
Color palette used by the design system. The slot fields (accent1-accent6, dark1, dark2, light1, light2, hyperlink, followedHyperlink) mirror color-scheme.schema.json (https://openpresentation.org/schema/opf-c…
Metadata
#/$defs/ColorScheme
object
spec/schemas/opf.schema.json
Fields
| Field | Type | Req | Description |
|---|---|---|---|
| id | string | — | Color scheme reference. Resolves to the 'id' of a 'colorSchemes' catalog record. Accepts a bare id (lowercase kebab-case, e.g. 'cool-horizon'), an HTTPS URL pointing at a record file, or a 'pkg:' reference. Slot and role overrides on the surrounding ColorScheme object take prece… |
| accent1 | string | — | Accent 1 color (hex). Mirrors the OOXML accent1 slot. |
| accent2 | string | — | Accent 2 color (hex). Mirrors the OOXML accent2 slot. |
| accent3 | string | — | Accent 3 color (hex). Mirrors the OOXML accent3 slot. |
| accent4 | string | — | Accent 4 color (hex). Mirrors the OOXML accent4 slot. |
| accent5 | string | — | Accent 5 color (hex). Mirrors the OOXML accent5 slot. |
| accent6 | string | — | Accent 6 color (hex). Mirrors the OOXML accent6 slot. |
| dark1 | string | — | Dark 1 color (hex). Typically the deepest neutral; OOXML dark1. |
| dark2 | string | — | Dark 2 color (hex). Secondary dark; OOXML dark2. |
| light1 | string | — | Light 1 color (hex). Typically the slide canvas; OOXML lt1. |
| light2 | string | — | Light 2 color (hex). Secondary light surface; OOXML lt2. |
| hyperlink | string | — | Hyperlink color (hex). OOXML hlink. |
| followedHyperlink | string | — | Followed-hyperlink color (hex). OOXML folHlink. |
| primary | string | — | Abstract role: primary brand color (hex). The engine maps this onto an OOXML accent slot when serializing. |
| secondary | string | — | Abstract role: secondary brand color (hex). |
| accent | string | — | Abstract role: accent color used for highlights and emphasis (hex). |
| background | string | — | Abstract role: default slide background color (hex). The engine maps this to one of light1 / light2 / dark1 / dark2 when serializing. |
| surface | string | — | Abstract role: color for elevated surfaces such as cards and panels (hex). |
| text | string | — | Abstract role: primary body text color (hex). |
| textSecondary | string | — | Abstract role: secondary or muted text color used for captions and supporting copy (hex). |
| custom | object | — | Map of custom named colors for advanced or theme-specific use. |
id
Type: string · Optional · Default: —
Color scheme reference. Resolves to the 'id' of a 'colorSchemes' catalog record. Accepts a bare id (lowercase kebab-case, e.g. 'cool-horizon'), an HTTPS URL pointing at a record file, or a 'pkg:' reference. Slot and role overrides on the surrounding ColorScheme object take prece…
{
"id": "cool-horizon"
}accent1
Type: string · Optional · Default: —
Accent 1 color (hex). Mirrors the OOXML accent1 slot.
{
"accent1": "#2874A6"
}accent2
Type: string · Optional · Default: —
Accent 2 color (hex). Mirrors the OOXML accent2 slot.
{
"accent2": "#1B4F72"
}accent3
Type: string · Optional · Default: —
Accent 3 color (hex). Mirrors the OOXML accent3 slot.
{
"accent3": "#5499C7"
}accent4
Type: string · Optional · Default: —
Accent 4 color (hex). Mirrors the OOXML accent4 slot.
{
"accent4": "#7BDBB2"
}accent5
Type: string · Optional · Default: —
Accent 5 color (hex). Mirrors the OOXML accent5 slot.
{
"accent5": "#3AC67A"
}accent6
Type: string · Optional · Default: —
Accent 6 color (hex). Mirrors the OOXML accent6 slot.
{
"accent6": "#24A89E"
}dark1
Type: string · Optional · Default: —
Dark 1 color (hex). Typically the deepest neutral; OOXML dark1.
{
"dark1": "#000000"
}dark2
Type: string · Optional · Default: —
Dark 2 color (hex). Secondary dark; OOXML dark2.
{
"dark2": "#011842"
}light1
Type: string · Optional · Default: —
Light 1 color (hex). Typically the slide canvas; OOXML lt1.
{
"light1": "#FFFFFF"
}light2
Type: string · Optional · Default: —
Light 2 color (hex). Secondary light surface; OOXML lt2.
{
"light2": "#F0F0F0"
}hyperlink
Type: string · Optional · Default: —
Hyperlink color (hex). OOXML hlink.
{
"hyperlink": "#0563C1"
}followedHyperlink
Type: string · Optional · Default: —
Followed-hyperlink color (hex). OOXML folHlink.
{
"followedHyperlink": "#954F72"
}primary
Type: string · Optional · Default: —
Abstract role: primary brand color (hex). The engine maps this onto an OOXML accent slot when serializing.
{
"primary": "#1E40AF"
}secondary
Type: string · Optional · Default: —
Abstract role: secondary brand color (hex).
{
"secondary": "#3B82F6"
}accent
Type: string · Optional · Default: —
Abstract role: accent color used for highlights and emphasis (hex).
{
"accent": "#F59E0B"
}background
Type: string · Optional · Default: —
Abstract role: default slide background color (hex). The engine maps this to one of light1 / light2 / dark1 / dark2 when serializing.
{
"background": "#FFFFFF"
}surface
Type: string · Optional · Default: —
Abstract role: color for elevated surfaces such as cards and panels (hex).
{
"surface": "#F8FAFC"
}text
Type: string · Optional · Default: —
Abstract role: primary body text color (hex).
{
"text": "#0F172A"
}textSecondary
Type: string · Optional · Default: —
Abstract role: secondary or muted text color used for captions and supporting copy (hex).
{
"textSecondary": "#475569"
}custom
Type: object · Optional · Default: —
Map of custom named colors for advanced or theme-specific use.
{
"custom": {
"success": "#10B981",
"warning": "#F59E0B",
"danger": "#EF4444"
}
}