PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics.colors Package / PDFRgbColor Class
Fields Methods Collapse All Expand All Members Options: Show All Members Options: Filtered
Include Inherited Members
Include Protected Members
In This Topic

PDFRgbColor Class Members
In This Topic

The following tables list the members exposed by PDFRgbColor.

Public Constructors

| Name | Description
--- | --- | ---
| PDFRgbColor Constructor | Overloaded.

Top
Public Fields

| Name | Description
--- | --- | ---
| ALICE_BLUE | Gets a predefined color with an RGB value of #F0F8FF
| ANTIQUE_WHITE | Gets a predefined color with an RGB value of #FAEBD7
| AQUA | Gets a predefined color with an RGB value of #00FFFF
| AQUAMARINE | Gets a predefined color with an RGB value of #7FFFD4
| AZURE | Gets a predefined color with an RGB value of #F0FFFF
| BEIGE | Gets a predefined color with an RGB value of #F5F5DC
| BISQUE | Gets a predefined color with an RGB value of #FFE4C4
| BLACK | Gets a predefined color with an RGB value of #000000
| BLANCHED_ALMOND | Gets a predefined color with an RGB value of #FFEBCD
| BLUE | Gets a predefined color with an RGB value of #0000FF
| BLUE_VIOLET | Gets a predefined color with an RGB value of #8A2BE2
| BROWN | Gets a predefined color with an RGB value of #A52A2A
| BURLYWOOD | Gets a predefined color with an RGB value of #DEB887
| CADET_BLUE | Gets a predefined color with an RGB value of #5F9EA0
| CHARTREUSE | Gets a predefined color with an RGB value of #7FFF00
| CHOCOLATE | Gets a predefined color with an RGB value of #D2691E
| CORAL | Gets a predefined color with an RGB value of #FF7F50
| CORNFLOWER_BLUE | Gets a predefined color with an RGB value of #6495ED
| CORNSILK | Gets a predefined color with an RGB value of #FFF8DC
| CRIMSON | Gets a predefined color with an RGB value of #DC143C
| CYAN | Gets a predefined color with an RGB value of #00FFFF
| DARK_BLUE | Gets a predefined color with an RGB value of #00008B
| DARK_CYAN | Gets a predefined color with an RGB value of #008B8B
| DARK_GOLDEN_ROD | Gets a predefined color with an RGB value of #B8860B
| DARK_GRAY | Gets a predefined color with an RGB value of #A9A9A9
| DARK_GREEN | Gets a predefined color with an RGB value of #006400
| DARK_KHAKI | Gets a predefined color with an RGB value of #BDB76B
| DARK_MAGENTA | Gets a predefined color with an RGB value of #8B008B
| DARK_OLIVE_GREEN | Gets a predefined color with an RGB value of #556B2F
| DARK_ORANGE | Gets a predefined color with an RGB value of #FF8C00
| DARK_ORCHID | Gets a predefined color with an RGB value of #9932CC
| DARK_RED | Gets a predefined color with an RGB value of #8B0000
| DARK_SALMON | Gets a predefined color with an RGB value of #E9967A
| DARK_SEA_GREEN | Gets a predefined color with an RGB value of #8FBC8B
| DARK_SLATE_BLUE | Gets a predefined color with an RGB value of #483D8B
| DARK_SLATE_GRAY | Gets a predefined color with an RGB value of #2F4F4F
| DARK_TURQUOISE | Gets a predefined color with an RGB value of #00CED1
| DARK_VIOLET | Gets a predefined color with an RGB value of #9400D3
| DEEP_PINK | Gets a predefined color with an RGB value of #FF1493
| DEEP_SKY_BLUE | Gets a predefined color with an RGB value of #00BFFF
| DIM_GRAY | Gets a predefined color with an RGB value of #696969
| DODGER_BLUE | Gets a predefined color with an RGB value of #1E90FF
| FIRE_BRICK | Gets a predefined color with an RGB value of #B22222
| FLORAL_WHITE | Gets a predefined color with an RGB value of #FFFAF0
| FOREST_GREEN | Gets a predefined color with an RGB value of #228B22
| FUCHSIA | Gets a predefined color with an RGB value of #FF00FF
| GAINSBORO | Gets a predefined color with an RGB value of #DCDCDC
| GHOST_WHITE | Gets a predefined color with an RGB value of #F8F8FF
| GOLD | Gets a predefined color with an RGB value of #FFD700
| GOLDEN_ROD | Gets a predefined color with an RGB value of #DAA520
| GRAY | Gets a predefined color with an RGB value of #808080
| GREEN | Gets a predefined color with an RGB value of #008000
| GREEN_YELLOW | Gets a predefined color with an RGB value of #ADFF2F
| HONEYDEW | Gets a predefined color with an RGB value of #F0FFF0
| HOT_PINK | Gets a predefined color with an RGB value of #FF69B4
| INDIAN_RED | Gets a predefined color with an RGB value of #CD5C5C
| INDIGO | Gets a predefined color with an RGB value of #4B0082
| IVORY | Gets a predefined color with an RGB value of #FFFFF0
| KHAKI | Gets a predefined color with an RGB value of #F0E68C
| LAVENDER | Gets a predefined color with an RGB value of #E6E6FA
| LAVENDER_BLUSH | Gets a predefined color with an RGB value of #FFF0F5
| LAWN_GREEN | Gets a predefined color with an RGB value of #7CFC00
| LEMON_CHIFFON | Gets a predefined color with an RGB value of #FFFACD
| LIGHT_BLUE | Gets a predefined color with an RGB value of #ADD8E6
| LIGHT_CORAL | Gets a predefined color with an RGB value of #F08080
| LIGHT_CYAN | Gets a predefined color with an RGB value of #E0FFFF
| LIGHT_GOLDEN_ROD_YELLOW | Gets a predefined color with an RGB value of #FAFAD2
| LIGHT_GRAY | Gets a predefined color with an RGB value of #D3D3D3
| LIGHT_GREEN | Gets a predefined color with an RGB value of #90EE90
| LIGHT_PINK | Gets a predefined color with an RGB value of #FFB6C1
| LIGHT_SALMON | Gets a predefined color with an RGB value of #FFA07A
| LIGHT_SEAGREEN | Gets a predefined color with an RGB value of #20B2AA
| LIGHT_SKY_BLUE | Gets a predefined color with an RGB value of #87CEFA
| LIGHT_SLATE_GRAY | Gets a predefined color with an RGB value of #778899
| LIGHT_STEEL_BLUE | Gets a predefined color with an RGB value of #B0C4DE
| LIGHT_YELLOW | Gets a predefined color with an RGB value of #FFFFE0
| LIME | Gets a predefined color with an RGB value of #00FF00
| LIME_GREEN | Gets a predefined color with an RGB value of #32CD32
| LINEN | Gets a predefined color with an RGB value of #FAF0E6
| MAGENTA | Gets a predefined color with an RGB value of #FF00FF
| MAROON | Gets a predefined color with an RGB value of #800000
| MEDIUM_AQUAMARINE | Gets a predefined color with an RGB value of #66CDAA
| MEDIUM_BLUE | Gets a predefined color with an RGB value of #0000CD
| MEDIUM_ORCHID | Gets a predefined color with an RGB value of #BA55D3
| MEDIUM_PURPLE | Gets a predefined color with an RGB value of #9370DB
| MEDIUM_SEA_GREEN | Gets a predefined color with an RGB value of #3CB371
| MEDIUM_SLATE_BLUE | Gets a predefined color with an RGB value of #7B68EE
| MEDIUM_SPRING_GREEN | Gets a predefined color with an RGB value of #00FA9A
| MEDIUM_TURQUOISE | Gets a predefined color with an RGB value of #48D1CC
| MEDIUM_VIOLET_RED | Gets a predefined color with an RGB value of #C71585
| MIDNIGHT_BLUE | Gets a predefined color with an RGB value of #191970
| MINT_CREAM | Gets a predefined color with an RGB value of #F5FFFA
| MISTY_ROSE | Gets a predefined color with an RGB value of #FFE4E1
| MOCCASIN | Gets a predefined color with an RGB value of #FFE4B5
| NAVAJO_WHITE | Gets a predefined color with an RGB value of #FFDEAD
| NAVY | Gets a predefined color with an RGB value of #000080
| OLD_LACE | Gets a predefined color with an RGB value of #FDF5E6
| OLIVE | Gets a predefined color with an RGB value of #808000
| OLIVE_DRAB | Gets a predefined color with an RGB value of #6B8E23
| ORANGE | Gets a predefined color with an RGB value of #FFA500
| ORANGE_RED | Gets a predefined color with an RGB value of #FF4500
| ORCHID | Gets a predefined color with an RGB value of #DA70D6
| PALE_GOLDEN_ROD | Gets a predefined color with an RGB value of #EEE8AA
| PALE_GREEN | Gets a predefined color with an RGB value of #98FB98
| PALE_TURQUOISE | Gets a predefined color with an RGB value of #AFEEEE
| PALE_VIOLET_RED | Gets a predefined color with an RGB value of #DB7093
| PAPAYA_WHIP | Gets a predefined color with an RGB value of #FFEFD5
| PEACH_PUFF | Gets a predefined color with an RGB value of #FFDAB9
| PERU | Gets a predefined color with an RGB value of #CD853F
| PINK | Gets a predefined color with an RGB value of #FFC0CB
| PLUM | Gets a predefined color with an RGB value of #DDA0DD
| POWDER_BLUE | Gets a predefined color with an RGB value of #B0E0E6
| PURPLE | Gets a predefined color with an RGB value of #800080
| RED | Gets a predefined color with an RGB value of #FF0000
| ROSY_BROWN | Gets a predefined color with an RGB value of #BC8F8F
| ROYAL_BLUE | Gets a predefined color with an RGB value of #4169E1
| SADDLE_BROWN | Gets a predefined color with an RGB value of #8B4513
| SALMON | Gets a predefined color with an RGB value of #FA8072
| SANDY_BROWN | Gets a predefined color with an RGB value of #F4A460
| SEA_GREEN | Gets a predefined color with an RGB value of #2E8B57
| SEA_SHELL | Gets a predefined color with an RGB value of #FFF5EE
| SIENNA | Gets a predefined color with an RGB value of #A0522D
| SILVER | Gets a predefined color with an RGB value of #C0C0C0
| SKY_BLUE | Gets a predefined color with an RGB value of #87CEEB
| SLATE_BLUE | Gets a predefined color with an RGB value of #6A5ACD
| SLATE_GRAY | Gets a predefined color with an RGB value of #708090
| SNOW | Gets a predefined color with an RGB value of #FFFAFA
| SPRING_GREEN | Gets a predefined color with an RGB value of #00FF7F
| STEEL_BLUE | Gets a predefined color with an RGB value of #4682B4
| TAN | Gets a predefined color with an RGB value of #D2B48C
| TEAL | Gets a predefined color with an RGB value of #008080
| THISTLE | Gets a predefined color with an RGB value of #D8BFD8
| TOMATO | Gets a predefined color with an RGB value of #FF6347
| TURQUOISE | Gets a predefined color with an RGB value of #40E0D0
| VIOLET | Gets a predefined color with an RGB value of #EE82EE
| WHEAT | Gets a predefined color with an RGB value of #F5DEB3
| WHITE | Gets a predefined color with an RGB value of #FFFFFF
| WHITE_SMOKE | Gets a predefined color with an RGB value of #F5F5F5
| YELLOW | Gets a predefined color with an RGB value of #FFFF00
| YELLOW_GREEN | Gets a predefined color with an RGB value of #9ACD32

Top
Protected Fields

| Name | Description
--- | --- | ---
| colorSpace | (Inherited from com.o2sol.pdf4java.graphics.colors.PDFColor)

Top
Public Methods

| Name | Description
--- | --- | ---
| copy | Copies this color.
| equals | Determines whether the specified Object is equal to the current Object.
| equalsComponents | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.graphics.colors.PDFColor)
| fromHex | Creates a RGB color from hex representation.
| getB | Gets the blue component.
| getColorComponents | This method supports the internal library infrastructure and should not be used by external client code.
| getColorSpace | Gets the colorspace. (Inherited from com.o2sol.pdf4java.graphics.colors.PDFColor)
| getG | Gets the green component.
| getR | Gets the red component.
| hashCode | Serves as the default hash function.
| setB | Sets the blue component.
| setG | Sets the green component.
| setR | Sets the red component.
| toHex | Converts the color to hex representation.
| toRgbColor | Converts this color to RGB.

Top
See Also

#### Reference

PDFRgbColor Class
com.o2sol.pdf4java.graphics.colors Package

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.