Skip to content

PDFRgbColor

Namespace: O2S.Components.PDF4NET.Graphics

Defines a device RGB color.

public class PDFRgbColor : PDFColor

Inheritance Object → PDFColor → PDFRgbColor

Constructors

PDFRgbColor()

Initializes a new PDFRgbColor object.

public PDFRgbColor()

PDFRgbColor(Byte, Byte, Byte)

Initializes a new PDFRgbColor object.

public PDFRgbColor(byte r, byte g, byte b)

Parameters

r Byte
Red component.

g Byte
Green component.

b Byte
Blue component.


Properties

AliceBlue

Gets a predefined color with a RGB value of #F0F8FF

public static PDFRgbColor AliceBlue { get; }

Property Value

PDFRgbColor


AntiqueWhite

Gets a predefined color with a RGB value of #FAEBD7

public static PDFRgbColor AntiqueWhite { get; }

Property Value

PDFRgbColor


Aqua

Gets a predefined color with a RGB value of #00FFFF

public static PDFRgbColor Aqua { get; }

Property Value

PDFRgbColor


Aquamarine

Gets a predefined color with a RGB value of #7FFFD4

public static PDFRgbColor Aquamarine { get; }

Property Value

PDFRgbColor


Azure

Gets a predefined color with a RGB value of #F0FFFF

public static PDFRgbColor Azure { get; }

Property Value

PDFRgbColor


B

Gets or sets the blue component.

public byte B { get; set; }

Property Value

Byte
The blue component in the range [0 255].


Beige

Gets a predefined color with a RGB value of #F5F5DC

public static PDFRgbColor Beige { get; }

Property Value

PDFRgbColor


Bisque

Gets a predefined color with a RGB value of #FFE4C4

public static PDFRgbColor Bisque { get; }

Property Value

PDFRgbColor


Black

Gets a predefined color with a RGB value of #000000

public static PDFRgbColor Black { get; }

Property Value

PDFRgbColor


BlanchedAlmond

Gets a predefined color with a RGB value of #FFEBCD

public static PDFRgbColor BlanchedAlmond { get; }

Property Value

PDFRgbColor


Blue

Gets a predefined color with a RGB value of #0000FF

public static PDFRgbColor Blue { get; }

Property Value

PDFRgbColor


BlueViolet

Gets a predefined color with a RGB value of #8A2BE2

public static PDFRgbColor BlueViolet { get; }

Property Value

PDFRgbColor


Brown

Gets a predefined color with a RGB value of #A52A2A

public static PDFRgbColor Brown { get; }

Property Value

PDFRgbColor


BurlyWood

Gets a predefined color with a RGB value of #DEB887

public static PDFRgbColor BurlyWood { get; }

Property Value

PDFRgbColor


CadetBlue

Gets a predefined color with a RGB value of #5F9EA0

public static PDFRgbColor CadetBlue { get; }

Property Value

PDFRgbColor


Chartreuse

Gets a predefined color with a RGB value of #7FFF00

public static PDFRgbColor Chartreuse { get; }

Property Value

PDFRgbColor


Chocolate

Gets a predefined color with a RGB value of #D2691E

public static PDFRgbColor Chocolate { get; }

Property Value

PDFRgbColor


ColorSpace

Gets the colorspace.

public PDFColorSpace ColorSpace { get; }

Property Value

PDFColorSpace
A PDFColorSpace that represents the colorspace of the color.


Coral

Gets a predefined color with a RGB value of #FF7F50

public static PDFRgbColor Coral { get; }

Property Value

PDFRgbColor


CornflowerBlue

Gets a predefined color with a RGB value of #6495ED

public static PDFRgbColor CornflowerBlue { get; }

Property Value

PDFRgbColor


Cornsilk

Gets a predefined color with a RGB value of #FFF8DC

public static PDFRgbColor Cornsilk { get; }

Property Value

PDFRgbColor


Crimson

Gets a predefined color with a RGB value of #DC143C

public static PDFRgbColor Crimson { get; }

Property Value

PDFRgbColor


Cyan

Gets a predefined color with a RGB value of #00FFFF

public static PDFRgbColor Cyan { get; }

Property Value

PDFRgbColor


DarkBlue

Gets a predefined color with a RGB value of #00008B

public static PDFRgbColor DarkBlue { get; }

Property Value

PDFRgbColor


DarkCyan

Gets a predefined color with a RGB value of #008B8B

public static PDFRgbColor DarkCyan { get; }

Property Value

PDFRgbColor


DarkGoldenrod

Gets a predefined color with a RGB value of #B8860B

public static PDFRgbColor DarkGoldenrod { get; }

Property Value

PDFRgbColor


DarkGray

Gets a predefined color with a RGB value of #A9A9A9

public static PDFRgbColor DarkGray { get; }

Property Value

PDFRgbColor


DarkGreen

Gets a predefined color with a RGB value of #006400

public static PDFRgbColor DarkGreen { get; }

Property Value

PDFRgbColor


DarkKhaki

Gets a predefined color with a RGB value of #BDB76B

public static PDFRgbColor DarkKhaki { get; }

Property Value

PDFRgbColor


DarkMagenta

Gets a predefined color with a RGB value of #8B008B

public static PDFRgbColor DarkMagenta { get; }

Property Value

PDFRgbColor


DarkOliveGreen

Gets a predefined color with a RGB value of #556B2F

public static PDFRgbColor DarkOliveGreen { get; }

Property Value

PDFRgbColor


DarkOrange

Gets a predefined color with a RGB value of #FF8C00

public static PDFRgbColor DarkOrange { get; }

Property Value

PDFRgbColor


DarkOrchid

Gets a predefined color with a RGB value of #9932CC

public static PDFRgbColor DarkOrchid { get; }

Property Value

PDFRgbColor


DarkRed

Gets a predefined color with a RGB value of #8B0000

public static PDFRgbColor DarkRed { get; }

Property Value

PDFRgbColor


DarkSalmon

Gets a predefined color with a RGB value of #E9967A

public static PDFRgbColor DarkSalmon { get; }

Property Value

PDFRgbColor


DarkSeaGreen

Gets a predefined color with a RGB value of #8FBC8B

public static PDFRgbColor DarkSeaGreen { get; }

Property Value

PDFRgbColor


DarkSlateBlue

Gets a predefined color with a RGB value of #483D8B

public static PDFRgbColor DarkSlateBlue { get; }

Property Value

PDFRgbColor


DarkSlateGray

Gets a predefined color with a RGB value of #2F4F4F

public static PDFRgbColor DarkSlateGray { get; }

Property Value

PDFRgbColor


DarkTurquoise

Gets a predefined color with a RGB value of #00CED1

public static PDFRgbColor DarkTurquoise { get; }

Property Value

PDFRgbColor


DarkViolet

Gets a predefined color with a RGB value of #9400D3

public static PDFRgbColor DarkViolet { get; }

Property Value

PDFRgbColor


DeepPink

Gets a predefined color with a RGB value of #FF1493

public static PDFRgbColor DeepPink { get; }

Property Value

PDFRgbColor


DeepSkyBlue

Gets a predefined color with a RGB value of #00BFFF

public static PDFRgbColor DeepSkyBlue { get; }

Property Value

PDFRgbColor


DimGray

Gets a predefined color with a RGB value of #696969

public static PDFRgbColor DimGray { get; }

Property Value

PDFRgbColor


DodgerBlue

Gets a predefined color with a RGB value of #1E90FF

public static PDFRgbColor DodgerBlue { get; }

Property Value

PDFRgbColor


Firebrick

Gets a predefined color with a RGB value of #B22222

public static PDFRgbColor Firebrick { get; }

Property Value

PDFRgbColor


FloralWhite

Gets a predefined color with a RGB value of #FFFAF0

public static PDFRgbColor FloralWhite { get; }

Property Value

PDFRgbColor


ForestGreen

Gets a predefined color with a RGB value of #228B22

public static PDFRgbColor ForestGreen { get; }

Property Value

PDFRgbColor


Fuchsia

Gets a predefined color with a RGB value of #FF00FF

public static PDFRgbColor Fuchsia { get; }

Property Value

PDFRgbColor


G

Gets or sets the green component.

public byte G { get; set; }

Property Value

Byte
The green component in the range [0 255].


Gainsboro

Gets a predefined color with a RGB value of #DCDCDC

public static PDFRgbColor Gainsboro { get; }

Property Value

PDFRgbColor


GhostWhite

Gets a predefined color with a RGB value of #F8F8FF

public static PDFRgbColor GhostWhite { get; }

Property Value

PDFRgbColor


Gold

Gets a predefined color with a RGB value of #FFD700

public static PDFRgbColor Gold { get; }

Property Value

PDFRgbColor


Goldenrod

Gets a predefined color with a RGB value of #DAA520

public static PDFRgbColor Goldenrod { get; }

Property Value

PDFRgbColor


Gray

Gets a predefined color with a RGB value of #808080

public static PDFRgbColor Gray { get; }

Property Value

PDFRgbColor


Green

Gets a predefined color with a RGB value of #008000

public static PDFRgbColor Green { get; }

Property Value

PDFRgbColor


GreenYellow

Gets a predefined color with a RGB value of #ADFF2F

public static PDFRgbColor GreenYellow { get; }

Property Value

PDFRgbColor


Honeydew

Gets a predefined color with a RGB value of #F0FFF0

public static PDFRgbColor Honeydew { get; }

Property Value

PDFRgbColor


HotPink

Gets a predefined color with a RGB value of #FF69B4

public static PDFRgbColor HotPink { get; }

Property Value

PDFRgbColor


IndianRed

Gets a predefined color with a RGB value of #CD5C5C

public static PDFRgbColor IndianRed { get; }

Property Value

PDFRgbColor


Indigo

Gets a predefined color with a RGB value of #4B0082

public static PDFRgbColor Indigo { get; }

Property Value

PDFRgbColor


Ivory

Gets a predefined color with a RGB value of #FFFFF0

public static PDFRgbColor Ivory { get; }

Property Value

PDFRgbColor


Khaki

Gets a predefined color with a RGB value of #F0E68C

public static PDFRgbColor Khaki { get; }

Property Value

PDFRgbColor


Lavender

Gets a predefined color with a RGB value of #E6E6FA

public static PDFRgbColor Lavender { get; }

Property Value

PDFRgbColor


LavenderBlush

Gets a predefined color with a RGB value of #FFF0F5

public static PDFRgbColor LavenderBlush { get; }

Property Value

PDFRgbColor


LawnGreen

Gets a predefined color with a RGB value of #7CFC00

public static PDFRgbColor LawnGreen { get; }

Property Value

PDFRgbColor


LemonChiffon

Gets a predefined color with a RGB value of #FFFACD

public static PDFRgbColor LemonChiffon { get; }

Property Value

PDFRgbColor


LightBlue

Gets a predefined color with a RGB value of #ADD8E6

public static PDFRgbColor LightBlue { get; }

Property Value

PDFRgbColor


LightCoral

Gets a predefined color with a RGB value of #F08080

public static PDFRgbColor LightCoral { get; }

Property Value

PDFRgbColor


LightCyan

Gets a predefined color with a RGB value of #E0FFFF

public static PDFRgbColor LightCyan { get; }

Property Value

PDFRgbColor


LightGoldenrodYellow

Gets a predefined color with a RGB value of #FAFAD2

public static PDFRgbColor LightGoldenrodYellow { get; }

Property Value

PDFRgbColor


LightGray

Gets a predefined color with a RGB value of #D3D3D3

public static PDFRgbColor LightGray { get; }

Property Value

PDFRgbColor


LightGreen

Gets a predefined color with a RGB value of #90EE90

public static PDFRgbColor LightGreen { get; }

Property Value

PDFRgbColor


LightPink

Gets a predefined color with a RGB value of #FFB6C1

public static PDFRgbColor LightPink { get; }

Property Value

PDFRgbColor


LightSalmon

Gets a predefined color with a RGB value of #FFA07A

public static PDFRgbColor LightSalmon { get; }

Property Value

PDFRgbColor


LightSeaGreen

Gets a predefined color with a RGB value of #20B2AA

public static PDFRgbColor LightSeaGreen { get; }

Property Value

PDFRgbColor


LightSkyBlue

Gets a predefined color with a RGB value of #87CEFA

public static PDFRgbColor LightSkyBlue { get; }

Property Value

PDFRgbColor


LightSlateGray

Gets a predefined color with a RGB value of #778899

public static PDFRgbColor LightSlateGray { get; }

Property Value

PDFRgbColor


LightSteelBlue

Gets a predefined color with a RGB value of #B0C4DE

public static PDFRgbColor LightSteelBlue { get; }

Property Value

PDFRgbColor


LightYellow

Gets a predefined color with a RGB value of #FFFFE0

public static PDFRgbColor LightYellow { get; }

Property Value

PDFRgbColor


Lime

Gets a predefined color with a RGB value of #00FF00

public static PDFRgbColor Lime { get; }

Property Value

PDFRgbColor


LimeGreen

Gets a predefined color with a RGB value of #32CD32

public static PDFRgbColor LimeGreen { get; }

Property Value

PDFRgbColor


Linen

Gets a predefined color with a RGB value of #FAF0E6

public static PDFRgbColor Linen { get; }

Property Value

PDFRgbColor


Magenta

Gets a predefined color with a RGB value of #FF00FF

public static PDFRgbColor Magenta { get; }

Property Value

PDFRgbColor


Maroon

Gets a predefined color with a RGB value of #800000

public static PDFRgbColor Maroon { get; }

Property Value

PDFRgbColor


MediumAquamarine

Gets a predefined color with a RGB value of #66CDAA

public static PDFRgbColor MediumAquamarine { get; }

Property Value

PDFRgbColor


MediumBlue

Gets a predefined color with a RGB value of #0000CD

public static PDFRgbColor MediumBlue { get; }

Property Value

PDFRgbColor


MediumOrchid

Gets a predefined color with a RGB value of #BA55D3

public static PDFRgbColor MediumOrchid { get; }

Property Value

PDFRgbColor


MediumPurple

Gets a predefined color with a RGB value of #9370DB

public static PDFRgbColor MediumPurple { get; }

Property Value

PDFRgbColor


MediumSeaGreen

Gets a predefined color with a RGB value of #3CB371

public static PDFRgbColor MediumSeaGreen { get; }

Property Value

PDFRgbColor


MediumSlateBlue

Gets a predefined color with a RGB value of #7B68EE

public static PDFRgbColor MediumSlateBlue { get; }

Property Value

PDFRgbColor


MediumSpringGreen

Gets a predefined color with a RGB value of #00FA9A

public static PDFRgbColor MediumSpringGreen { get; }

Property Value

PDFRgbColor


MediumTurquoise

Gets a predefined color with a RGB value of #48D1CC

public static PDFRgbColor MediumTurquoise { get; }

Property Value

PDFRgbColor


MediumVioletRed

Gets a predefined color with a RGB value of #C71585

public static PDFRgbColor MediumVioletRed { get; }

Property Value

PDFRgbColor


MidnightBlue

Gets a predefined color with a RGB value of #191970

public static PDFRgbColor MidnightBlue { get; }

Property Value

PDFRgbColor


MintCream

Gets a predefined color with a RGB value of #F5FFFA

public static PDFRgbColor MintCream { get; }

Property Value

PDFRgbColor


MistyRose

Gets a predefined color with a RGB value of #FFE4E1

public static PDFRgbColor MistyRose { get; }

Property Value

PDFRgbColor


Moccasin

Gets a predefined color with a RGB value of #FFE4B5

public static PDFRgbColor Moccasin { get; }

Property Value

PDFRgbColor


Gets a predefined color with a RGB value of #FFDEAD

public static PDFRgbColor NavajoWhite { get; }

Property Value

PDFRgbColor


Gets a predefined color with a RGB value of #000080

public static PDFRgbColor Navy { get; }

Property Value

PDFRgbColor


OldLace

Gets a predefined color with a RGB value of #FDF5E6

public static PDFRgbColor OldLace { get; }

Property Value

PDFRgbColor


Olive

Gets a predefined color with a RGB value of #808000

public static PDFRgbColor Olive { get; }

Property Value

PDFRgbColor


OliveDrab

Gets a predefined color with a RGB value of #6B8E23

public static PDFRgbColor OliveDrab { get; }

Property Value

PDFRgbColor


Orange

Gets a predefined color with a RGB value of #FFA500

public static PDFRgbColor Orange { get; }

Property Value

PDFRgbColor


OrangeRed

Gets a predefined color with a RGB value of #FF4500

public static PDFRgbColor OrangeRed { get; }

Property Value

PDFRgbColor


Orchid

Gets a predefined color with a RGB value of #DA70D6

public static PDFRgbColor Orchid { get; }

Property Value

PDFRgbColor


PaleGoldenrod

Gets a predefined color with a RGB value of #EEE8AA

public static PDFRgbColor PaleGoldenrod { get; }

Property Value

PDFRgbColor


PaleGreen

Gets a predefined color with a RGB value of #98FB98

public static PDFRgbColor PaleGreen { get; }

Property Value

PDFRgbColor


PaleTurquoise

Gets a predefined color with a RGB value of #AFEEEE

public static PDFRgbColor PaleTurquoise { get; }

Property Value

PDFRgbColor


PaleVioletRed

Gets a predefined color with a RGB value of #DB7093

public static PDFRgbColor PaleVioletRed { get; }

Property Value

PDFRgbColor


PapayaWhip

Gets a predefined color with a RGB value of #FFEFD5

public static PDFRgbColor PapayaWhip { get; }

Property Value

PDFRgbColor


PeachPuff

Gets a predefined color with a RGB value of #FFDAB9

public static PDFRgbColor PeachPuff { get; }

Property Value

PDFRgbColor


Peru

Gets a predefined color with a RGB value of #CD853F

public static PDFRgbColor Peru { get; }

Property Value

PDFRgbColor


Pink

Gets a predefined color with a RGB value of #FFC0CB

public static PDFRgbColor Pink { get; }

Property Value

PDFRgbColor


Plum

Gets a predefined color with a RGB value of #DDA0DD

public static PDFRgbColor Plum { get; }

Property Value

PDFRgbColor


PowderBlue

Gets a predefined color with a RGB value of #B0E0E6

public static PDFRgbColor PowderBlue { get; }

Property Value

PDFRgbColor


Purple

Gets a predefined color with a RGB value of #800080

public static PDFRgbColor Purple { get; }

Property Value

PDFRgbColor


R

Gets or sets the red component.

public byte R { get; set; }

Property Value

Byte
The red component in the range [0 255].


Red

Gets a predefined color with a RGB value of #FF0000

public static PDFRgbColor Red { get; }

Property Value

PDFRgbColor


RosyBrown

Gets a predefined color with a RGB value of #BC8F8F

public static PDFRgbColor RosyBrown { get; }

Property Value

PDFRgbColor


RoyalBlue

Gets a predefined color with a RGB value of #4169E1

public static PDFRgbColor RoyalBlue { get; }

Property Value

PDFRgbColor


SaddleBrown

Gets a predefined color with a RGB value of #8B4513

public static PDFRgbColor SaddleBrown { get; }

Property Value

PDFRgbColor


Salmon

Gets a predefined color with a RGB value of #FA8072

public static PDFRgbColor Salmon { get; }

Property Value

PDFRgbColor


SandyBrown

Gets a predefined color with a RGB value of #F4A460

public static PDFRgbColor SandyBrown { get; }

Property Value

PDFRgbColor


SeaGreen

Gets a predefined color with a RGB value of #2E8B57

public static PDFRgbColor SeaGreen { get; }

Property Value

PDFRgbColor


SeaShell

Gets a predefined color with a RGB value of #FFF5EE

public static PDFRgbColor SeaShell { get; }

Property Value

PDFRgbColor


Sienna

Gets a predefined color with a RGB value of #A0522D

public static PDFRgbColor Sienna { get; }

Property Value

PDFRgbColor


Silver

Gets a predefined color with a RGB value of #C0C0C0

public static PDFRgbColor Silver { get; }

Property Value

PDFRgbColor


SkyBlue

Gets a predefined color with a RGB value of #87CEEB

public static PDFRgbColor SkyBlue { get; }

Property Value

PDFRgbColor


SlateBlue

Gets a predefined color with a RGB value of #6A5ACD

public static PDFRgbColor SlateBlue { get; }

Property Value

PDFRgbColor


SlateGray

Gets a predefined color with a RGB value of #708090

public static PDFRgbColor SlateGray { get; }

Property Value

PDFRgbColor


Snow

Gets a predefined color with a RGB value of #FFFAFA

public static PDFRgbColor Snow { get; }

Property Value

PDFRgbColor


SpringGreen

Gets a predefined color with a RGB value of #00FF7F

public static PDFRgbColor SpringGreen { get; }

Property Value

PDFRgbColor


SteelBlue

Gets a predefined color with a RGB value of #4682B4

public static PDFRgbColor SteelBlue { get; }

Property Value

PDFRgbColor


Tan

Gets a predefined color with a RGB value of #D2B48C

public static PDFRgbColor Tan { get; }

Property Value

PDFRgbColor


Teal

Gets a predefined color with a RGB value of #008080

public static PDFRgbColor Teal { get; }

Property Value

PDFRgbColor


Thistle

Gets a predefined color with a RGB value of #D8BFD8

public static PDFRgbColor Thistle { get; }

Property Value

PDFRgbColor


Tomato

Gets a predefined color with a RGB value of #FF6347

public static PDFRgbColor Tomato { get; }

Property Value

PDFRgbColor


Turquoise

Gets a predefined color with a RGB value of #40E0D0

public static PDFRgbColor Turquoise { get; }

Property Value

PDFRgbColor


Violet

Gets a predefined color with a RGB value of #EE82EE

public static PDFRgbColor Violet { get; }

Property Value

PDFRgbColor


Wheat

Gets a predefined color with a RGB value of #F5DEB3

public static PDFRgbColor Wheat { get; }

Property Value

PDFRgbColor


White

Gets a predefined color with a RGB value of #FFFFFF

public static PDFRgbColor White { get; }

Property Value

PDFRgbColor


WhiteSmoke

Gets a predefined color with a RGB value of #F5F5F5

public static PDFRgbColor WhiteSmoke { get; }

Property Value

PDFRgbColor


Yellow

Gets a predefined color with a RGB value of #FFFF00

public static PDFRgbColor Yellow { get; }

Property Value

PDFRgbColor


YellowGreen

Gets a predefined color with a RGB value of #9ACD32

public static PDFRgbColor YellowGreen { get; }

Property Value

PDFRgbColor


Methods

Copy()

Copies this color.

public PDFColor Copy()

Returns

PDFColor
A copy of this color.


Equals(Object)

Determines whether the specified Object is equal to the current Object.

public bool Equals(object obj)

Parameters

obj Object
The Object to compare with the current Object.

Returns

Boolean
true if the specified Object is equal to the current Object; otherwise, false.


GetHashCode()

Serves as a hash function for a particular type.

public int GetHashCode()

Returns

Int32
A hash code for the current Object.


ToRgbColor()

Converts this color to RGB.

public PDFRgbColor ToRgbColor()

Returns

PDFRgbColor
The color in RGB format.