Table of Contents

Class ColorConstants

Namespace
iText.Kernel.Colors
Assembly
itext.kernel.dll

Class containing predefined DeviceRgb colors.

public class ColorConstants
Inheritance
ColorConstants
Inherited Members

Remarks

Class containing predefined DeviceRgb colors. Color space specific classes should be used for the advanced handling of colors. The most common ones are DeviceGray , DeviceCmyk and DeviceRgb.

Constructors

ColorConstants()

public ColorConstants()

Fields

BLACK

Predefined black DeviceRgb color

public static readonly Color BLACK

Field Value

Color

BLUE

Predefined blue DeviceRgb color

public static readonly Color BLUE

Field Value

Color

CYAN

Predefined cyan DeviceRgb color

public static readonly Color CYAN

Field Value

Color

DARK_GRAY

Predefined dark gray DeviceRgb color

public static readonly Color DARK_GRAY

Field Value

Color

GRAY

Predefined gray DeviceRgb color

public static readonly Color GRAY

Field Value

Color

GREEN

Predefined green DeviceRgb color

public static readonly Color GREEN

Field Value

Color

LIGHT_GRAY

Predefined light gray DeviceRgb color

public static readonly Color LIGHT_GRAY

Field Value

Color

MAGENTA

Predefined magenta DeviceRgb color

public static readonly Color MAGENTA

Field Value

Color

ORANGE

Predefined orange DeviceRgb color

public static readonly Color ORANGE

Field Value

Color

PINK

Predefined pink DeviceRgb color

public static readonly Color PINK

Field Value

Color

RED

Predefined red DeviceRgb color

public static readonly Color RED

Field Value

Color

WHITE

Predefined white DeviceRgb color

public static readonly Color WHITE

Field Value

Color

YELLOW

Predefined yellow DeviceRgb color

public static readonly Color YELLOW

Field Value

Color