iText 8.0.5 API
iText.Kernel.Colors.ColorConstants Class Reference

Class containing predefined DeviceRgb colors. More...

Static Public Attributes

static readonly Color  BLACK = DeviceRgb.BLACK
  Predefined black DeviceRgb color More...
 
static readonly Color  BLUE = DeviceRgb.BLUE
  Predefined blue DeviceRgb color More...
 
static readonly Color  CYAN = new DeviceRgb(0, 255, 255)
  Predefined cyan DeviceRgb color More...
 
static readonly Color  DARK_GRAY = new DeviceRgb(64, 64, 64)
  Predefined dark gray DeviceRgb color More...
 
static readonly Color  GRAY = new DeviceRgb(128, 128, 128)
  Predefined gray DeviceRgb color More...
 
static readonly Color  GREEN = DeviceRgb.GREEN
  Predefined green DeviceRgb color More...
 
static readonly Color  LIGHT_GRAY = new DeviceRgb(192, 192, 192)
  Predefined light gray DeviceRgb color More...
 
static readonly Color  MAGENTA = new DeviceRgb(255, 0, 255)
  Predefined magenta DeviceRgb color More...
 
static readonly Color  ORANGE = new DeviceRgb(255, 200, 0)
  Predefined orange DeviceRgb color More...
 
static readonly Color  PINK = new DeviceRgb(255, 175, 175)
  Predefined pink DeviceRgb color More...
 
static readonly Color  RED = DeviceRgb.RED
  Predefined red DeviceRgb color More...
 
static readonly Color  WHITE = DeviceRgb.WHITE
  Predefined white DeviceRgb color More...
 
static readonly Color  YELLOW = new DeviceRgb(255, 255, 0)
  Predefined yellow DeviceRgb color More...
 

Detailed Description

Class containing predefined DeviceRgb colors.

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.

Member Data Documentation

◆ BLACK

readonly Color iText.Kernel.Colors.ColorConstants.BLACK = DeviceRgb.BLACK
static

Predefined black DeviceRgb color

◆ BLUE

readonly Color iText.Kernel.Colors.ColorConstants.BLUE = DeviceRgb.BLUE
static

Predefined blue DeviceRgb color

◆ CYAN

readonly Color iText.Kernel.Colors.ColorConstants.CYAN = new DeviceRgb(0, 255, 255)
static

Predefined cyan DeviceRgb color

◆ DARK_GRAY

readonly Color iText.Kernel.Colors.ColorConstants.DARK_GRAY = new DeviceRgb(64, 64, 64)
static

Predefined dark gray DeviceRgb color

◆ GRAY

readonly Color iText.Kernel.Colors.ColorConstants.GRAY = new DeviceRgb(128, 128, 128)
static

Predefined gray DeviceRgb color

◆ GREEN

readonly Color iText.Kernel.Colors.ColorConstants.GREEN = DeviceRgb.GREEN
static

Predefined green DeviceRgb color

◆ LIGHT_GRAY

readonly Color iText.Kernel.Colors.ColorConstants.LIGHT_GRAY = new DeviceRgb(192, 192, 192)
static

Predefined light gray DeviceRgb color

◆ MAGENTA

readonly Color iText.Kernel.Colors.ColorConstants.MAGENTA = new DeviceRgb(255, 0, 255)
static

Predefined magenta DeviceRgb color

◆ ORANGE

readonly Color iText.Kernel.Colors.ColorConstants.ORANGE = new DeviceRgb(255, 200, 0)
static

Predefined orange DeviceRgb color

◆ PINK

readonly Color iText.Kernel.Colors.ColorConstants.PINK = new DeviceRgb(255, 175, 175)
static

Predefined pink DeviceRgb color

◆ RED

readonly Color iText.Kernel.Colors.ColorConstants.RED = DeviceRgb.RED
static

Predefined red DeviceRgb color

◆ WHITE

readonly Color iText.Kernel.Colors.ColorConstants.WHITE = DeviceRgb.WHITE
static

Predefined white DeviceRgb color

◆ YELLOW

readonly Color iText.Kernel.Colors.ColorConstants.YELLOW = new DeviceRgb(255, 255, 0)
static

Predefined yellow DeviceRgb color