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

ColorFormat.RGB Property (PowerPoint)

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

Returns or sets the red-green-blue (RGB) value of the specified color. Read/write.


expression. RGB

expression A variable that represents a ColorFormat object.

Return Value



This example sets the background color for color scheme three in the active presentation and then applies the color scheme to all slides in the presentation that are based on the slide master.

With ActivePresentation

    Set cs1 = .ColorSchemes(3)

    cs1.Colors(ppBackground).RGB = RGB(128, 128, 0)

    .SlideMaster.ColorScheme = cs1

End With

See also


ColorFormat Object

© 2018 Microsoft