Package com.dynamicpdf.api
Class RgbColor
java.lang.Object
com.dynamicpdf.api.Color
com.dynamicpdf.api.RgbColor
- Direct Known Subclasses:
 WebColor
Represents an RGB color.
- 
Constructor Summary
ConstructorsConstructorDescriptionRgbColor(float red, float green, float blue)Initializes a new instance of theRgbColorclass. - 
Method Summary
Modifier and TypeMethodDescriptionstatic RgbColorGets the color alice blue.static RgbColorGets the color antique white.static RgbColorgetAqua()Gets the color aqua.static RgbColorGets the color aquamarine.static RgbColorgetAzure()Gets the color azure.static RgbColorgetBeige()Gets the color beige.static RgbColorGets the color bisque.static RgbColorgetBlack()Gets the color black.static RgbColorGets the color blanched almond.static RgbColorgetBlue()Gets the color blue.static RgbColorGets the color blue violet.static RgbColorgetBrown()Gets the color brown.static RgbColorGets the color burly wood.static RgbColorGets the color cadet blue.static RgbColorGets the color chartreuse.static RgbColorGets the color chocolate.static RgbColorgetCoral()Gets the color coralstatic RgbColorGets the color cornflower blue.static RgbColorGets the color cornsilk.static RgbColorGets the color crimson.static RgbColorgetCyan()Gets the color cyan.static RgbColorGets the color dark blue.static RgbColorGets the color dark cyan.static RgbColorGets the color dark golden rod.static RgbColorGets the color dark gray.static RgbColorGets the color dark green.static RgbColorGets the color dark khaki.static RgbColorGets the color dark magenta.static RgbColorGets the color dark olive green.static RgbColorGets the color dark orange.static RgbColorGets the color dark orchid.static RgbColorGets the color dark red.static RgbColorGets the color dark salmon.static RgbColorGets the color dark sea green.static RgbColorGets the color dark slate blue.static RgbColorGets the color dark slate gray.static RgbColorGets the color dark turquoise.static RgbColorGets the color dark violet.static RgbColorGets the color deep pink.static RgbColorGets the color deep sky blue.static RgbColorGets the color dim gray.static RgbColorGets the color dodger blue.static RgbColorGets the color feldspar.static RgbColorGets the color fire brick.static RgbColorGets the color floral white.static RgbColorGets the color forest green.static RgbColorGets the color fuchsia.static RgbColorGets the color gainsboro.static RgbColorGets the color ghost white.static RgbColorgetGold()Gets the color gold.static RgbColorGets the color golden rod.static RgbColorgetGray()Gets the color gray.static RgbColorgetGreen()Gets the color green.static RgbColorGets the color golden yellow.static RgbColorGets the color honey dew.static RgbColorGets the color hot pink.static RgbColorGets the color indian red.static RgbColorGets the color indigo.static RgbColorgetIvory()Gets the color ivory.static RgbColorgetKhaki()Gets the color khaki.static RgbColorGets the color lavender.static RgbColorGets the color lavender blush.static RgbColorGets the color lawn Green.static RgbColorGets the color lemon chiffon.static RgbColorGets the color light blue.static RgbColorGets the color light coral.static RgbColorGets the color light cyan.static RgbColorGets the color light golden rod yellow.static RgbColorGets the color light green.static RgbColorGets the color light grey.static RgbColorGets the color light pink.static RgbColorGets the color light salmon.static RgbColorGets the color light sea green.static RgbColorGets the color light sky blue.static RgbColorGets the color light slate blue.static RgbColorGets the color light slate gray.static RgbColorGets the color light steel blue.static RgbColorGets the color light yellow.static RgbColorgetLime()Gets the color lime.static RgbColorGets the color lime green.static RgbColorgetLinen()Gets the color linen.static RgbColorGets the color magenta.static RgbColorGets the color maroon.static RgbColorGets the color medium aqua marine.static RgbColorGets the color medium blue.static RgbColorGets the color medium orchid.static RgbColorGets the color medium purple.static RgbColorGets the color medium sea green.static RgbColorGets the color medium slate blue.static RgbColorGets the color medium spring green.static RgbColorGets the color medium turquoise.static RgbColorGets the color medium violet red.static RgbColorGets the color midnight blue.static RgbColorGets the color mint cream.static RgbColorGets the color misty rose.static RgbColorGets the color moccasin.static RgbColorGets the color navajo white.static RgbColorgetNavy()Gets the color navy.static RgbColorGets the color old lace.static RgbColorgetOlive()Gets the color olive.static RgbColorGets the color olive drab.static RgbColorGets the color orange.static RgbColorGets the color orange red.static RgbColorGets the color orchid.static RgbColorGets the color pale golden rod.static RgbColorGets the color pale green.static RgbColorGets the color pale turquoise.static RgbColorGets the color pale violet red.static RgbColorGets the color papaya whip.static RgbColorGets the color peach puff.static RgbColorgetPeru()Gets the color peru.static RgbColorgetPink()Gets the color pink.static RgbColorgetPlum()Gets the color plum.static RgbColorGets the color powder blue.static RgbColorGets the color purple.static RgbColorgetRed()Gets the color red.static RgbColorGets the color rosy brown.static RgbColorGets the color royal blue.static RgbColorGets the color saddle brown.static RgbColorGets the color salmon.static RgbColorGets the color sandy brown.static RgbColorGets the color sea green.static RgbColorGets the color sea shell.static RgbColorGets the color sienna.static RgbColorGets the color silver.static RgbColorGets the color sky blue.static RgbColorGets the color slate blue.static RgbColorGets the color slate gray.static RgbColorgetSnow()Gets the color snow.static RgbColorGets the color spring green.static RgbColorGets the color steel blue.static RgbColorgetTan()Gets the color Tan.static RgbColorgetTeal()Gets the color teal.static RgbColorGets the color thistle.static RgbColorGets the color tomato.static RgbColorGets the color turquoise.static RgbColorGets the color violet.static RgbColorGets the color violet red.static RgbColorgetWheat()Gets the color wheat.static RgbColorgetWhite()Gets the color white.static RgbColorGets the color white smoke.static RgbColorGets the color yellow.static RgbColorGets the color yellow green. 
- 
Constructor Details
- 
RgbColor
public RgbColor(float red, float green, float blue)Initializes a new instance of theRgbColorclass.- Parameters:
 red- The red intensity.green- The green intensity.blue- The blue intensity.
 
 - 
 - 
Method Details
- 
getColorString
- Specified by:
 getColorStringin classColor
 - 
getRed
Gets the color red.- Returns:
 - The color red.
 
 - 
getBlue
Gets the color blue.- Returns:
 - The color blue.
 
 - 
getGreen
Gets the color green.- Returns:
 - The color green.
 
 - 
getBlack
Gets the color black.- Returns:
 - The color black.
 
 - 
getSilver
Gets the color silver.- Returns:
 - The color silver.
 
 - 
getDarkGray
Gets the color dark gray.- Returns:
 - The color dark gray.
 
 - 
getGray
Gets the color gray.- Returns:
 - The color gray.
 
 - 
getDimGray
Gets the color dim gray.- Returns:
 - The color dim gray.
 
 - 
getWhite
Gets the color white.- Returns:
 - The color white.
 
 - 
getLime
Gets the color lime.- Returns:
 - The color lime.
 
 - 
getAqua
Gets the color aqua.- Returns:
 - The color aqua.
 
 - 
getPurple
Gets the color purple.- Returns:
 - The color purple.
 
 - 
getCyan
Gets the color cyan.- Returns:
 - The color cyan.
 
 - 
getMagenta
Gets the color magenta.- Returns:
 - The color magenta.
 
 - 
getYellow
Gets the color yellow.- Returns:
 - The color yellow.
 
 - 
getAliceBlue
Gets the color alice blue.- Returns:
 - The color alice blue.
 
 - 
getAntiqueWhite
Gets the color antique white.- Returns:
 - The color antique white.
 
 - 
getAquamarine
Gets the color aquamarine.- Returns:
 - The color aquamarine.
 
 - 
getAzure
Gets the color azure.- Returns:
 - The color azure.
 
 - 
getBeige
Gets the color beige.- Returns:
 - The color beige.
 
 - 
getBisque
Gets the color bisque.- Returns:
 - The color bisque.
 
 - 
getBlanchedAlmond
Gets the color blanched almond.- Returns:
 - The color blanched almond.
 
 - 
getBlueViolet
Gets the color blue violet.- Returns:
 - The color blue violet.
 
 - 
getBrown
Gets the color brown.- Returns:
 - The color brown.
 
 - 
getBurlyWood
Gets the color burly wood.- Returns:
 - The color burly wood.
 
 - 
getCadetBlue
Gets the color cadet blue.- Returns:
 - The color cadet blue.
 
 - 
getChartreuse
Gets the color chartreuse.- Returns:
 - The color chartreuse.
 
 - 
getChocolate
Gets the color chocolate.- Returns:
 - The color chocolate.
 
 - 
getCoral
Gets the color coral- Returns:
 - The color coral.
 
 - 
getCornflowerBlue
Gets the color cornflower blue.- Returns:
 - The color cornflower blue.
 
 - 
getCornsilk
Gets the color cornsilk.- Returns:
 - The color cornsilk.
 
 - 
getCrimson
Gets the color crimson.- Returns:
 - The color crimson.
 
 - 
getDarkBlue
Gets the color dark blue.- Returns:
 - The color dark blue.
 
 - 
getDarkCyan
Gets the color dark cyan.- Returns:
 - The color dark cyan.
 
 - 
getDarkGoldenRod
Gets the color dark golden rod.- Returns:
 - The color golden rod.
 
 - 
getDarkGreen
Gets the color dark green.- Returns:
 - The color dark green.
 
 - 
getDarkKhaki
Gets the color dark khaki.- Returns:
 - The color dark khaki.
 
 - 
getDarkMagenta
Gets the color dark magenta.- Returns:
 - The color dark magenta.
 
 - 
getDarkOliveGreen
Gets the color dark olive green.- Returns:
 - The color dark olive green.
 
 - 
getDarkOrange
Gets the color dark orange.- Returns:
 - The color dark orange.
 
 - 
getDarkOrchid
Gets the color dark orchid.- Returns:
 - The color dark orchid.
 
 - 
getDarkRed
Gets the color dark red.- Returns:
 - The color dark red.
 
 - 
getDarkSalmon
Gets the color dark salmon.- Returns:
 - The color dark salmon.
 
 - 
getDarkSeaGreen
Gets the color dark sea green.- Returns:
 - The color dark sea green.
 
 - 
getDarkSlateBlue
Gets the color dark slate blue.- Returns:
 - The color dark slate blue.
 
 - 
getDarkSlateGray
Gets the color dark slate gray.- Returns:
 - The color dark slate gray.
 
 - 
getDarkTurquoise
Gets the color dark turquoise.- Returns:
 - The color dark turquoise.
 
 - 
getDarkViolet
Gets the color dark violet.- Returns:
 - The color dark violet.
 
 - 
getDeepPink
Gets the color deep pink.- Returns:
 - The color deep pink.
 
 - 
getDeepSkyBlue
Gets the color deep sky blue.- Returns:
 - The color deep sky blue.
 
 - 
getDodgerBlue
Gets the color dodger blue.- Returns:
 - The color dodger blue.
 
 - 
getFeldspar
Gets the color feldspar.- Returns:
 - The color feldspar.
 
 - 
getFireBrick
Gets the color fire brick.- Returns:
 - The color fire brick.
 
 - 
getFloralWhite
Gets the color floral white.- Returns:
 - The color floral white.
 
 - 
getForestGreen
Gets the color forest green.- Returns:
 - The color forest green.
 
 - 
getFuchsia
Gets the color fuchsia.- Returns:
 - The color fuchsia.
 
 - 
getGhostWhite
Gets the color ghost white.- Returns:
 - The color ghost white.
 
 - 
getGold
Gets the color gold.- Returns:
 - The color gold.
 
 - 
getGoldenRod
Gets the color golden rod.- Returns:
 - The color golden rod.
 
 - 
getGreenYellow
Gets the color golden yellow.- Returns:
 - The color golden yellow.
 
 - 
getHoneyDew
Gets the color honey dew.- Returns:
 - The color honey dew.
 
 - 
getHotPink
Gets the color hot pink.- Returns:
 - The color hot pink.
 
 - 
getIndianRed
Gets the color indian red.- Returns:
 - The color indian red.
 
 - 
getIndigo
Gets the color indigo.- Returns:
 - The color indigo.
 
 - 
getIvory
Gets the color ivory.- Returns:
 - The color ivory.
 
 - 
getKhaki
Gets the color khaki.- Returns:
 - The color khaki.
 
 - 
getLavender
Gets the color lavender.- Returns:
 - The color lavender.
 
 - 
getLavenderBlush
Gets the color lavender blush.- Returns:
 - The color lavender blush.
 
 - 
getLawnGreen
Gets the color lawn Green.- Returns:
 - The color lawn Green.
 
 - 
getLemonChiffon
Gets the color lemon chiffon.- Returns:
 - The color lemon chiffon.
 
 - 
getLightBlue
Gets the color light blue.- Returns:
 - The color light blue.
 
 - 
getLightCoral
Gets the color light coral.- Returns:
 - The color light coral.
 
 - 
getLightCyan
Gets the color light cyan.- Returns:
 - The color light cyan.
 
 - 
getLightGoldenRodYellow
Gets the color light golden rod yellow.- Returns:
 - The color light golden rod yellow.
 
 - 
getLightGrey
Gets the color light grey.- Returns:
 - The color light grey.
 
 - 
getLightGreen
Gets the color light green.- Returns:
 - The color light green.
 
 - 
getLightPink
Gets the color light pink.- Returns:
 - The color light pink.
 
 - 
getLightSalmon
Gets the color light salmon.- Returns:
 - The color light salmon.
 
 - 
getLightSeaGreen
Gets the color light sea green.- Returns:
 - The color light sea green.
 
 - 
getLightSkyBlue
Gets the color light sky blue.- Returns:
 - The color light sky blue.
 
 - 
getLightSlateBlue
Gets the color light slate blue.- Returns:
 - The color light slate blue.
 
 - 
getLightSlateGray
Gets the color light slate gray.- Returns:
 - The color light slate gray.
 
 - 
getLightSteelBlue
Gets the color light steel blue.- Returns:
 - The color light steel blue.
 
 - 
getLightYellow
Gets the color light yellow.- Returns:
 - The color light yellow.
 
 - 
getLimeGreen
Gets the color lime green.- Returns:
 - The color lime green.
 
 - 
getLinen
Gets the color linen.- Returns:
 - The color linen.
 
 - 
getMaroon
Gets the color maroon.- Returns:
 - The color maroon.
 
 - 
getMediumAquaMarine
Gets the color medium aqua marine.- Returns:
 - The color medium aqua marine.
 
 - 
getMediumBlue
Gets the color medium blue.- Returns:
 - The color medium blue.
 
 - 
getMediumOrchid
Gets the color medium orchid.- Returns:
 - The color medium orchid.
 
 - 
getMediumPurple
Gets the color medium purple.- Returns:
 - The color medium purple.
 
 - 
getMediumSeaGreen
Gets the color medium sea green.- Returns:
 - The color medium sea green.
 
 - 
getMediumSlateBlue
Gets the color medium slate blue.- Returns:
 - The color medium slate blue.
 
 - 
getMediumSpringGreen
Gets the color medium spring green.- Returns:
 - The color medium spring green.
 
 - 
getMediumTurquoise
Gets the color medium turquoise.- Returns:
 - The color medium turquoise.
 
 - 
getMediumVioletRed
Gets the color medium violet red.- Returns:
 - The color medium violet red.
 
 - 
getMidnightBlue
Gets the color midnight blue.- Returns:
 - The color midnight blue.
 
 - 
getMintCream
Gets the color mint cream.- Returns:
 - The color mint cream.
 
 - 
getMistyRose
Gets the color misty rose.- Returns:
 - The color misty rose.
 
 - 
getMoccasin
Gets the color moccasin.- Returns:
 - The color moccasin.
 
 - 
getOldLace
Gets the color old lace.- Returns:
 - The color old lace.
 
 - 
getOlive
Gets the color olive.- Returns:
 - The color olive.
 
 - 
getOliveDrab
Gets the color olive drab.- Returns:
 - The color olive drab.
 
 - 
getGainsboro
Gets the color gainsboro.- Returns:
 - The color gainsboro.
 
 - 
getOrange
Gets the color orange.- Returns:
 - The color orange.
 
 - 
getOrangeRed
Gets the color orange red.- Returns:
 - The color orange red.
 
 - 
getOrchid
Gets the color orchid.- Returns:
 - The color orchid.
 
 - 
getPaleGoldenRod
Gets the color pale golden rod.- Returns:
 - The color pale golden rod.
 
 - 
getPaleGreen
Gets the color pale green.- Returns:
 - The color pale green.
 
 - 
getPaleTurquoise
Gets the color pale turquoise.- Returns:
 - The color pale turquoise.
 
 - 
getPaleVioletRed
Gets the color pale violet red.- Returns:
 - The color pale violet red.
 
 - 
getPapayaWhip
Gets the color papaya whip.- Returns:
 - The color papaya whip.
 
 - 
getPeachPuff
Gets the color peach puff.- Returns:
 - The color peach puff.
 
 - 
getPeru
Gets the color peru.- Returns:
 - The color peru.
 
 - 
getPink
Gets the color pink.- Returns:
 - The color pink.
 
 - 
getPlum
Gets the color plum.- Returns:
 - The color plum.
 
 - 
getPowderBlue
Gets the color powder blue.- Returns:
 - The color powder blue.
 
 - 
getRosyBrown
Gets the color rosy brown.- Returns:
 - The color rosy brown.
 
 - 
getRoyalBlue
Gets the color royal blue.- Returns:
 - The color royal blue.
 
 - 
getSaddleBrown
Gets the color saddle brown.- Returns:
 - The color saddle brown.
 
 - 
getSalmon
Gets the color salmon.- Returns:
 - The color salmon.
 
 - 
getSandyBrown
Gets the color sandy brown.- Returns:
 - The color sandy brown.
 
 - 
getSeaGreen
Gets the color sea green.- Returns:
 - The color sea green.
 
 - 
getSeaShell
Gets the color sea shell.- Returns:
 - The color sea shell.
 
 - 
getSienna
Gets the color sienna.- Returns:
 - The color sienna.
 
 - 
getSkyBlue
Gets the color sky blue.- Returns:
 - The color sky blue.
 
 - 
getSlateBlue
Gets the color slate blue.- Returns:
 - The color slate blue.
 
 - 
getSlateGray
Gets the color slate gray.- Returns:
 - The color slate gray.
 
 - 
getSnow
Gets the color snow.- Returns:
 - The color snow.
 
 - 
getSpringGreen
Gets the color spring green.- Returns:
 - The color spring green.
 
 - 
getSteelBlue
Gets the color steel blue.- Returns:
 - The color steel blue.
 
 - 
getTan
Gets the color Tan.- Returns:
 - The color Tan.
 
 - 
getTeal
Gets the color teal.- Returns:
 - The color teal.
 
 - 
getThistle
Gets the color thistle.- Returns:
 - The color thistle.
 
 - 
getTomato
Gets the color tomato.- Returns:
 - The color tomato.
 
 - 
getTurquoise
Gets the color turquoise.- Returns:
 - The color turquoise.
 
 - 
getViolet
Gets the color violet.- Returns:
 - The color violet.
 
 - 
getVioletRed
Gets the color violet red.- Returns:
 - The color violet red.
 
 - 
getWheat
Gets the color wheat.- Returns:
 - The color wheat.
 
 - 
getWhiteSmoke
Gets the color white smoke.- Returns:
 - The color white smoke.
 
 - 
getYellowGreen
Gets the color yellow green.- Returns:
 - The color yellow green.
 
 
 -