Share via


ThreeDFormat.Color Property

PowerPoint Developer Reference

Returns a ColorFormat object that represents the color for the specified characters. Read-only.

Syntax

expression.Color

expression   A variable that represents a ThreeDFormat object.

Return Value
ColorFormat

Example

This example sets the color of characters one through five in the title on slide one.

Visual Basic for Applications
  myRed = RGB(255, 0, 0)
Set myT = Application.ActivePresentation.Slides(1).Shapes.Title
myT.TextFrame.TextRange.Characters(1, 5).Font.Color.RGB = myRed

See Also