2.2.3.3 Color

This data type represents a color used in a user interface.

This data type is a Complex Object (section 2.2.5.2) with the following extended properties (section 2.2.5.2.9):

  • Hard-coded type of the object

    • Property name: T.

    • type: String (see section 2.2.5.1.1).

    • Property value: System.ConsoleColor

  • Color value

    • Property name: V.

    • Property type: signed int (section 2.2.5.1.11)

    • Property value: Taken from the following table:

      Value

      Meaning

      1

      DarkBlue

      Dark blue color.

      2

      DarkGreen

      Dark green color.

      3

      DarkCyan

      Dark cyan color.

      4

      DarkRed

      Dark red color.

      5

      DarkMagenta

      Dark magenta color.

      6

      DarkYellow

      Dark yellow color.

      7

      Gray

      Gray color.

      8

      DarkGray

      Dark gray color.

      9

      Blue

      Blue color.

      10

      Green

      Green color.

      11

      Cyan

      Cyan color.

      12

      Red

      Red color.

      13

      Magenta

      Magenta color.

      14

      Yellow

      Yellow color.

      15

      White

      White color.

The Complex Object described in this section SHOULD have no associated type names (section 2.2.5.2.3).

Example:

 <Obj N="Value" RefId="21">
   <MS>
    <S N="T">System.ConsoleColor</S>
    <I32 N="V">5</I32>
   </MS>
 </Obj>