Table of contents
TOC
Collapse the table of content
Expand the table of content

ColorScheme.Colors Method (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Returns an RGBColor object that represents a single color in a color scheme.

Syntax

expression. Colors( SchemeColor )

expression A variable that represents a ColorScheme object.

Parameters

NameRequired/OptionalData TypeDescription
SchemeColorRequiredPpColorSchemeIndexThe individual color in the specified color scheme.

Return Value

RGBColor

Example

This example sets the title color for slides one and three in the active presentation.

Set mySlides = ActivePresentation.Slides.Range(Array(1, 3))

mySlides.ColorScheme.Colors(ppTitle).RGB = RGB(0, 255, 0)

See also

Concepts

ColorScheme Object

© 2018 Microsoft