Class RgbColor

java.lang.Object
com.dynamicpdf.api.Color
com.dynamicpdf.api.RgbColor
Direct Known Subclasses:
WebColor

public class RgbColor extends Color
Represents an RGB color.
  • Constructor Details

    • RgbColor

      public RgbColor(float red, float green, float blue)
      Initializes a new instance of the RgbColor class.
      Parameters:
      red - The red intensity.
      green - The green intensity.
      blue - The blue intensity.
  • Method Details

    • getColorString

      public String getColorString()
      Specified by:
      getColorString in class Color
    • getRed

      public static RgbColor getRed()
      Gets the color red.
      Returns:
      The color red.
    • getBlue

      public static RgbColor getBlue()
      Gets the color blue.
      Returns:
      The color blue.
    • getGreen

      public static RgbColor getGreen()
      Gets the color green.
      Returns:
      The color green.
    • getBlack

      public static RgbColor getBlack()
      Gets the color black.
      Returns:
      The color black.
    • getSilver

      public static RgbColor getSilver()
      Gets the color silver.
      Returns:
      The color silver.
    • getDarkGray

      public static RgbColor getDarkGray()
      Gets the color dark gray.
      Returns:
      The color dark gray.
    • getGray

      public static RgbColor getGray()
      Gets the color gray.
      Returns:
      The color gray.
    • getDimGray

      public static RgbColor getDimGray()
      Gets the color dim gray.
      Returns:
      The color dim gray.
    • getWhite

      public static RgbColor getWhite()
      Gets the color white.
      Returns:
      The color white.
    • getLime

      public static RgbColor getLime()
      Gets the color lime.
      Returns:
      The color lime.
    • getAqua

      public static RgbColor getAqua()
      Gets the color aqua.
      Returns:
      The color aqua.
    • getPurple

      public static RgbColor getPurple()
      Gets the color purple.
      Returns:
      The color purple.
    • getCyan

      public static RgbColor getCyan()
      Gets the color cyan.
      Returns:
      The color cyan.
    • getMagenta

      public static RgbColor getMagenta()
      Gets the color magenta.
      Returns:
      The color magenta.
    • getYellow

      public static RgbColor getYellow()
      Gets the color yellow.
      Returns:
      The color yellow.
    • getAliceBlue

      public static RgbColor getAliceBlue()
      Gets the color alice blue.
      Returns:
      The color alice blue.
    • getAntiqueWhite

      public static RgbColor getAntiqueWhite()
      Gets the color antique white.
      Returns:
      The color antique white.
    • getAquamarine

      public static RgbColor getAquamarine()
      Gets the color aquamarine.
      Returns:
      The color aquamarine.
    • getAzure

      public static RgbColor getAzure()
      Gets the color azure.
      Returns:
      The color azure.
    • getBeige

      public static RgbColor getBeige()
      Gets the color beige.
      Returns:
      The color beige.
    • getBisque

      public static RgbColor getBisque()
      Gets the color bisque.
      Returns:
      The color bisque.
    • getBlanchedAlmond

      public static RgbColor getBlanchedAlmond()
      Gets the color blanched almond.
      Returns:
      The color blanched almond.
    • getBlueViolet

      public static RgbColor getBlueViolet()
      Gets the color blue violet.
      Returns:
      The color blue violet.
    • getBrown

      public static RgbColor getBrown()
      Gets the color brown.
      Returns:
      The color brown.
    • getBurlyWood

      public static RgbColor getBurlyWood()
      Gets the color burly wood.
      Returns:
      The color burly wood.
    • getCadetBlue

      public static RgbColor getCadetBlue()
      Gets the color cadet blue.
      Returns:
      The color cadet blue.
    • getChartreuse

      public static RgbColor getChartreuse()
      Gets the color chartreuse.
      Returns:
      The color chartreuse.
    • getChocolate

      public static RgbColor getChocolate()
      Gets the color chocolate.
      Returns:
      The color chocolate.
    • getCoral

      public static RgbColor getCoral()
      Gets the color coral
      Returns:
      The color coral.
    • getCornflowerBlue

      public static RgbColor getCornflowerBlue()
      Gets the color cornflower blue.
      Returns:
      The color cornflower blue.
    • getCornsilk

      public static RgbColor getCornsilk()
      Gets the color cornsilk.
      Returns:
      The color cornsilk.
    • getCrimson

      public static RgbColor getCrimson()
      Gets the color crimson.
      Returns:
      The color crimson.
    • getDarkBlue

      public static RgbColor getDarkBlue()
      Gets the color dark blue.
      Returns:
      The color dark blue.
    • getDarkCyan

      public static RgbColor getDarkCyan()
      Gets the color dark cyan.
      Returns:
      The color dark cyan.
    • getDarkGoldenRod

      public static RgbColor getDarkGoldenRod()
      Gets the color dark golden rod.
      Returns:
      The color golden rod.
    • getDarkGreen

      public static RgbColor getDarkGreen()
      Gets the color dark green.
      Returns:
      The color dark green.
    • getDarkKhaki

      public static RgbColor getDarkKhaki()
      Gets the color dark khaki.
      Returns:
      The color dark khaki.
    • getDarkMagenta

      public static RgbColor getDarkMagenta()
      Gets the color dark magenta.
      Returns:
      The color dark magenta.
    • getDarkOliveGreen

      public static RgbColor getDarkOliveGreen()
      Gets the color dark olive green.
      Returns:
      The color dark olive green.
    • getDarkOrange

      public static RgbColor getDarkOrange()
      Gets the color dark orange.
      Returns:
      The color dark orange.
    • getDarkOrchid

      public static RgbColor getDarkOrchid()
      Gets the color dark orchid.
      Returns:
      The color dark orchid.
    • getDarkRed

      public static RgbColor getDarkRed()
      Gets the color dark red.
      Returns:
      The color dark red.
    • getDarkSalmon

      public static RgbColor getDarkSalmon()
      Gets the color dark salmon.
      Returns:
      The color dark salmon.
    • getDarkSeaGreen

      public static RgbColor getDarkSeaGreen()
      Gets the color dark sea green.
      Returns:
      The color dark sea green.
    • getDarkSlateBlue

      public static RgbColor getDarkSlateBlue()
      Gets the color dark slate blue.
      Returns:
      The color dark slate blue.
    • getDarkSlateGray

      public static RgbColor getDarkSlateGray()
      Gets the color dark slate gray.
      Returns:
      The color dark slate gray.
    • getDarkTurquoise

      public static RgbColor getDarkTurquoise()
      Gets the color dark turquoise.
      Returns:
      The color dark turquoise.
    • getDarkViolet

      public static RgbColor getDarkViolet()
      Gets the color dark violet.
      Returns:
      The color dark violet.
    • getDeepPink

      public static RgbColor getDeepPink()
      Gets the color deep pink.
      Returns:
      The color deep pink.
    • getDeepSkyBlue

      public static RgbColor getDeepSkyBlue()
      Gets the color deep sky blue.
      Returns:
      The color deep sky blue.
    • getDodgerBlue

      public static RgbColor getDodgerBlue()
      Gets the color dodger blue.
      Returns:
      The color dodger blue.
    • getFeldspar

      public static RgbColor getFeldspar()
      Gets the color feldspar.
      Returns:
      The color feldspar.
    • getFireBrick

      public static RgbColor getFireBrick()
      Gets the color fire brick.
      Returns:
      The color fire brick.
    • getFloralWhite

      public static RgbColor getFloralWhite()
      Gets the color floral white.
      Returns:
      The color floral white.
    • getForestGreen

      public static RgbColor getForestGreen()
      Gets the color forest green.
      Returns:
      The color forest green.
    • getFuchsia

      public static RgbColor getFuchsia()
      Gets the color fuchsia.
      Returns:
      The color fuchsia.
    • getGhostWhite

      public static RgbColor getGhostWhite()
      Gets the color ghost white.
      Returns:
      The color ghost white.
    • getGold

      public static RgbColor getGold()
      Gets the color gold.
      Returns:
      The color gold.
    • getGoldenRod

      public static RgbColor getGoldenRod()
      Gets the color golden rod.
      Returns:
      The color golden rod.
    • getGreenYellow

      public static RgbColor getGreenYellow()
      Gets the color golden yellow.
      Returns:
      The color golden yellow.
    • getHoneyDew

      public static RgbColor getHoneyDew()
      Gets the color honey dew.
      Returns:
      The color honey dew.
    • getHotPink

      public static RgbColor getHotPink()
      Gets the color hot pink.
      Returns:
      The color hot pink.
    • getIndianRed

      public static RgbColor getIndianRed()
      Gets the color indian red.
      Returns:
      The color indian red.
    • getIndigo

      public static RgbColor getIndigo()
      Gets the color indigo.
      Returns:
      The color indigo.
    • getIvory

      public static RgbColor getIvory()
      Gets the color ivory.
      Returns:
      The color ivory.
    • getKhaki

      public static RgbColor getKhaki()
      Gets the color khaki.
      Returns:
      The color khaki.
    • getLavender

      public static RgbColor getLavender()
      Gets the color lavender.
      Returns:
      The color lavender.
    • getLavenderBlush

      public static RgbColor getLavenderBlush()
      Gets the color lavender blush.
      Returns:
      The color lavender blush.
    • getLawnGreen

      public static RgbColor getLawnGreen()
      Gets the color lawn Green.
      Returns:
      The color lawn Green.
    • getLemonChiffon

      public static RgbColor getLemonChiffon()
      Gets the color lemon chiffon.
      Returns:
      The color lemon chiffon.
    • getLightBlue

      public static RgbColor getLightBlue()
      Gets the color light blue.
      Returns:
      The color light blue.
    • getLightCoral

      public static RgbColor getLightCoral()
      Gets the color light coral.
      Returns:
      The color light coral.
    • getLightCyan

      public static RgbColor getLightCyan()
      Gets the color light cyan.
      Returns:
      The color light cyan.
    • getLightGoldenRodYellow

      public static RgbColor getLightGoldenRodYellow()
      Gets the color light golden rod yellow.
      Returns:
      The color light golden rod yellow.
    • getLightGrey

      public static RgbColor getLightGrey()
      Gets the color light grey.
      Returns:
      The color light grey.
    • getLightGreen

      public static RgbColor getLightGreen()
      Gets the color light green.
      Returns:
      The color light green.
    • getLightPink

      public static RgbColor getLightPink()
      Gets the color light pink.
      Returns:
      The color light pink.
    • getLightSalmon

      public static RgbColor getLightSalmon()
      Gets the color light salmon.
      Returns:
      The color light salmon.
    • getLightSeaGreen

      public static RgbColor getLightSeaGreen()
      Gets the color light sea green.
      Returns:
      The color light sea green.
    • getLightSkyBlue

      public static RgbColor getLightSkyBlue()
      Gets the color light sky blue.
      Returns:
      The color light sky blue.
    • getLightSlateBlue

      public static RgbColor getLightSlateBlue()
      Gets the color light slate blue.
      Returns:
      The color light slate blue.
    • getLightSlateGray

      public static RgbColor getLightSlateGray()
      Gets the color light slate gray.
      Returns:
      The color light slate gray.
    • getLightSteelBlue

      public static RgbColor getLightSteelBlue()
      Gets the color light steel blue.
      Returns:
      The color light steel blue.
    • getLightYellow

      public static RgbColor getLightYellow()
      Gets the color light yellow.
      Returns:
      The color light yellow.
    • getLimeGreen

      public static RgbColor getLimeGreen()
      Gets the color lime green.
      Returns:
      The color lime green.
    • getLinen

      public static RgbColor getLinen()
      Gets the color linen.
      Returns:
      The color linen.
    • getMaroon

      public static RgbColor getMaroon()
      Gets the color maroon.
      Returns:
      The color maroon.
    • getMediumAquaMarine

      public static RgbColor getMediumAquaMarine()
      Gets the color medium aqua marine.
      Returns:
      The color medium aqua marine.
    • getMediumBlue

      public static RgbColor getMediumBlue()
      Gets the color medium blue.
      Returns:
      The color medium blue.
    • getMediumOrchid

      public static RgbColor getMediumOrchid()
      Gets the color medium orchid.
      Returns:
      The color medium orchid.
    • getMediumPurple

      public static RgbColor getMediumPurple()
      Gets the color medium purple.
      Returns:
      The color medium purple.
    • getMediumSeaGreen

      public static RgbColor getMediumSeaGreen()
      Gets the color medium sea green.
      Returns:
      The color medium sea green.
    • getMediumSlateBlue

      public static RgbColor getMediumSlateBlue()
      Gets the color medium slate blue.
      Returns:
      The color medium slate blue.
    • getMediumSpringGreen

      public static RgbColor getMediumSpringGreen()
      Gets the color medium spring green.
      Returns:
      The color medium spring green.
    • getMediumTurquoise

      public static RgbColor getMediumTurquoise()
      Gets the color medium turquoise.
      Returns:
      The color medium turquoise.
    • getMediumVioletRed

      public static RgbColor getMediumVioletRed()
      Gets the color medium violet red.
      Returns:
      The color medium violet red.
    • getMidnightBlue

      public static RgbColor getMidnightBlue()
      Gets the color midnight blue.
      Returns:
      The color midnight blue.
    • getMintCream

      public static RgbColor getMintCream()
      Gets the color mint cream.
      Returns:
      The color mint cream.
    • getMistyRose

      public static RgbColor getMistyRose()
      Gets the color misty rose.
      Returns:
      The color misty rose.
    • getMoccasin

      public static RgbColor getMoccasin()
      Gets the color moccasin.
      Returns:
      The color moccasin.
    • getNavajoWhite

      public static RgbColor getNavajoWhite()
      Gets the color navajo white.
      Returns:
      The color navajo white.
    • getNavy

      public static RgbColor getNavy()
      Gets the color navy.
      Returns:
      The color navy.
    • getOldLace

      public static RgbColor getOldLace()
      Gets the color old lace.
      Returns:
      The color old lace.
    • getOlive

      public static RgbColor getOlive()
      Gets the color olive.
      Returns:
      The color olive.
    • getOliveDrab

      public static RgbColor getOliveDrab()
      Gets the color olive drab.
      Returns:
      The color olive drab.
    • getGainsboro

      public static RgbColor getGainsboro()
      Gets the color gainsboro.
      Returns:
      The color gainsboro.
    • getOrange

      public static RgbColor getOrange()
      Gets the color orange.
      Returns:
      The color orange.
    • getOrangeRed

      public static RgbColor getOrangeRed()
      Gets the color orange red.
      Returns:
      The color orange red.
    • getOrchid

      public static RgbColor getOrchid()
      Gets the color orchid.
      Returns:
      The color orchid.
    • getPaleGoldenRod

      public static RgbColor getPaleGoldenRod()
      Gets the color pale golden rod.
      Returns:
      The color pale golden rod.
    • getPaleGreen

      public static RgbColor getPaleGreen()
      Gets the color pale green.
      Returns:
      The color pale green.
    • getPaleTurquoise

      public static RgbColor getPaleTurquoise()
      Gets the color pale turquoise.
      Returns:
      The color pale turquoise.
    • getPaleVioletRed

      public static RgbColor getPaleVioletRed()
      Gets the color pale violet red.
      Returns:
      The color pale violet red.
    • getPapayaWhip

      public static RgbColor getPapayaWhip()
      Gets the color papaya whip.
      Returns:
      The color papaya whip.
    • getPeachPuff

      public static RgbColor getPeachPuff()
      Gets the color peach puff.
      Returns:
      The color peach puff.
    • getPeru

      public static RgbColor getPeru()
      Gets the color peru.
      Returns:
      The color peru.
    • getPink

      public static RgbColor getPink()
      Gets the color pink.
      Returns:
      The color pink.
    • getPlum

      public static RgbColor getPlum()
      Gets the color plum.
      Returns:
      The color plum.
    • getPowderBlue

      public static RgbColor getPowderBlue()
      Gets the color powder blue.
      Returns:
      The color powder blue.
    • getRosyBrown

      public static RgbColor getRosyBrown()
      Gets the color rosy brown.
      Returns:
      The color rosy brown.
    • getRoyalBlue

      public static RgbColor getRoyalBlue()
      Gets the color royal blue.
      Returns:
      The color royal blue.
    • getSaddleBrown

      public static RgbColor getSaddleBrown()
      Gets the color saddle brown.
      Returns:
      The color saddle brown.
    • getSalmon

      public static RgbColor getSalmon()
      Gets the color salmon.
      Returns:
      The color salmon.
    • getSandyBrown

      public static RgbColor getSandyBrown()
      Gets the color sandy brown.
      Returns:
      The color sandy brown.
    • getSeaGreen

      public static RgbColor getSeaGreen()
      Gets the color sea green.
      Returns:
      The color sea green.
    • getSeaShell

      public static RgbColor getSeaShell()
      Gets the color sea shell.
      Returns:
      The color sea shell.
    • getSienna

      public static RgbColor getSienna()
      Gets the color sienna.
      Returns:
      The color sienna.
    • getSkyBlue

      public static RgbColor getSkyBlue()
      Gets the color sky blue.
      Returns:
      The color sky blue.
    • getSlateBlue

      public static RgbColor getSlateBlue()
      Gets the color slate blue.
      Returns:
      The color slate blue.
    • getSlateGray

      public static RgbColor getSlateGray()
      Gets the color slate gray.
      Returns:
      The color slate gray.
    • getSnow

      public static RgbColor getSnow()
      Gets the color snow.
      Returns:
      The color snow.
    • getSpringGreen

      public static RgbColor getSpringGreen()
      Gets the color spring green.
      Returns:
      The color spring green.
    • getSteelBlue

      public static RgbColor getSteelBlue()
      Gets the color steel blue.
      Returns:
      The color steel blue.
    • getTan

      public static RgbColor getTan()
      Gets the color Tan.
      Returns:
      The color Tan.
    • getTeal

      public static RgbColor getTeal()
      Gets the color teal.
      Returns:
      The color teal.
    • getThistle

      public static RgbColor getThistle()
      Gets the color thistle.
      Returns:
      The color thistle.
    • getTomato

      public static RgbColor getTomato()
      Gets the color tomato.
      Returns:
      The color tomato.
    • getTurquoise

      public static RgbColor getTurquoise()
      Gets the color turquoise.
      Returns:
      The color turquoise.
    • getViolet

      public static RgbColor getViolet()
      Gets the color violet.
      Returns:
      The color violet.
    • getVioletRed

      public static RgbColor getVioletRed()
      Gets the color violet red.
      Returns:
      The color violet red.
    • getWheat

      public static RgbColor getWheat()
      Gets the color wheat.
      Returns:
      The color wheat.
    • getWhiteSmoke

      public static RgbColor getWhiteSmoke()
      Gets the color white smoke.
      Returns:
      The color white smoke.
    • getYellowGreen

      public static RgbColor getYellowGreen()
      Gets the color yellow green.
      Returns:
      The color yellow green.