Skip to content

Interface: ThemeColorScheme ​

Theme color scheme overrides. Each slot maps to one <a:clrScheme> entry in theme1.xml; any slot left unset keeps the default Office value. Provide 6-digit hex (no #).

Slot names use the OOXML scheme names. The PowerPoint UI labels them as: dk1=Text/Dark 1, lt1=Background/Light 1, dk2=Text/Dark 2, lt2=Background/Light 2, accent1-accent6=Accent 1-6, hlink=Hyperlink, folHlink=Followed Hyperlink.

Example ​

ts
{ accent1: 'C00000', dk2: '1F3864', hlink: '0070C0' }

Properties ​

accent1? ​

optional accent1?: string

Accent 1 (default Office: 4472C4)


accent2? ​

optional accent2?: string

Accent 2 (default Office: ED7D31)


accent3? ​

optional accent3?: string

Accent 3 (default Office: A5A5A5)


accent4? ​

optional accent4?: string

Accent 4 (default Office: FFC000)


accent5? ​

optional accent5?: string

Accent 5 (default Office: 5B9BD5)


accent6? ​

optional accent6?: string

Accent 6 (default Office: 70AD47)


dk1? ​

optional dk1?: string

Text/Dark 1 (default Office: black via windowText)


dk2? ​

optional dk2?: string

Text/Dark 2 (default Office: 44546A)


optional folHlink?: string

Followed Hyperlink (default Office: 954F72)


optional hlink?: string

Hyperlink (default Office: 0563C1)


lt1? ​

optional lt1?: string

Background/Light 1 (default Office: white via window)


lt2? ​

optional lt2?: string

Background/Light 2 (default Office: E7E6E6)