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

Cell.FontColorEx Property (Project)

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

Gets or sets the color of the font. Read/write Long.


expression. FontColorEx

expression An expression that returns a Cell object.


RGB colors can be expressed in decimal or hexadecimal values. In Project, red is the last byte of a hexadecimal value. For example, if the value of CellColorEx is 65535, the color is blue (&;HFF0000).

The valid range for a normal RGB color is 0 to 16,777,215 (&;HFFFFFF&;). Each color setting (property or argument) is a 4-byte integer. The high byte of a number in this range equals 0. The lower 3 bytes, from least to most significant byte, determine the amount of red, green, and blue, respectively. The red, green, and blue components are each represented by a number between 0 and 255 (&;HFF).

© 2018 Microsoft