Add Method (ExtraColors Object)

Applies To

ExtraColors object.

Description

Adds a color to the extra colors available to a presentation if the color hasn't already been added.

Syntax

expression.Add(Type)

expression Required. An expression that returns an ExtraColors object.

Type Required Long. The red-green-blue (RGB) value of the color to be added.

Remarks

The ExtraColors object can contain only eight colors, including colors added by the user.

Example

This example adds an extra color to the active presentation (if the color hasn't already been added).

ActivePresentation.ExtraColors.Add RGB(69, 32, 155)