Colors Method
Applies To
ColorScheme object.
Description
Returns an RGBColor object that represents a single color in a color scheme.
Syntax
expression.Colors(SchemeColor)
expression Required. An expression that returns a ColorScheme object.
SchemeColor Required Long. The individual color in the specified color scheme. Can be one of the following PpColorSchemeIndex constants: ppAccent1, ppAccent2, ppAccent3, ppBackground, ppFill, ppForeground, ppNotSchemeColor, ppShadow, or ppTitle.
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)