Word.Interfaces.ColorFormatUpdateData interface
An interface for updating data on the ColorFormat
object, for use in colorFormat.set({ ... })
.
Properties
brightness | Specifies the brightness of a specified shape color. Valid values are from |
object |
Specifies the theme color for a color format. |
rgb | Specifies the red-green-blue (RGB) value of the specified color. You can provide the value in the '#RRGGBB' format. |
tint |
Specifies the lightening or darkening of a specified shape's color. Valid values are from |
Property Details
brightness
Specifies the brightness of a specified shape color. Valid values are from -1
(darkest) to 1
(lightest), 0
represents neutral.
brightness?: number;
Property Value
number
Remarks
objectThemeColor
Specifies the theme color for a color format.
objectThemeColor?: Word.ThemeColorIndex | "NotThemeColor" | "MainDark1" | "MainLight1" | "MainDark2" | "MainLight2" | "Accent1" | "Accent2" | "Accent3" | "Accent4" | "Accent5" | "Accent6" | "Hyperlink" | "HyperlinkFollowed" | "Background1" | "Text1" | "Background2" | "Text2";
Property Value
Word.ThemeColorIndex | "NotThemeColor" | "MainDark1" | "MainLight1" | "MainDark2" | "MainLight2" | "Accent1" | "Accent2" | "Accent3" | "Accent4" | "Accent5" | "Accent6" | "Hyperlink" | "HyperlinkFollowed" | "Background1" | "Text1" | "Background2" | "Text2"
Remarks
rgb
Specifies the red-green-blue (RGB) value of the specified color. You can provide the value in the '#RRGGBB' format.
rgb?: string;
Property Value
string
Remarks
tintAndShade
Specifies the lightening or darkening of a specified shape's color. Valid values are from -1
(darkest) to 1
(lightest), 0
represents neutral.
tintAndShade?: number;
Property Value
number