com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class Color



  • public final class Color
    extends Object

    Represents class for color value which can be expressed in different color space.

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static Color Empty
      Represents empty color.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Color()
      Default constructor.
      Color(double[] vector)
      Constructor
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      Color deepClone()
      Clones this instance
      boolean equals(Object obj)
      Returns true if two Colors are equal.
      static Color fromArgb(int r, int g, int b)
      Gets valid pdf Color object from RGB color components.
      static Color fromArgb(int a, int r, int g, int b)
      Gets valid pdf Color object from RGB color components.
      static Color fromCmyk(double c, double m, double y, double k)
      Gets valid pdf Color object from RGB color components.
      static Color fromGray(double g)
      Gets valid pdf Color object from Gray color component.
      static Color fromRgb(Color color)
      Gets valid pdf Color object from java.awt.Color value.
      static Color fromRgb(double r, double g, double b)
      Gets valid pdf Color object from RGB color components.
      double getA()
      Gets the alpha component value
      static Color getAliceBlue()
      Gets a system-defined color that has an ARGB value of #FFF0F8FF.
      static Color getAntiqueWhite()
      Gets a system-defined color that has an ARGB value of #FFFAEBD7.
      static Color getAqua()
      Gets a system-defined color that has an ARGB value of #FF00FFFF.
      static Color getAquamarine()
      Gets a system-defined color that has an ARGB value of #FF7FFFD4.
      static Color getAzure()
      Gets a system-defined color that has an ARGB value of #FFF0FFFF.
      static Color getBeige()
      Gets a system-defined color that has an ARGB value of #FFF5F5DC.
      static Color getBisque()
      Gets a system-defined color that has an ARGB value of #FFFFE4C4.
      static Color getBlack()
      Gets a system-defined color that has an ARGB value of #FF000000.
      static Color getBlanchedAlmond()
      Gets a system-defined color that has an ARGB value of #FFFFEBCD.
      static Color getBlue()
      Gets a system-defined color that has an ARGB value of #FF0000FF.
      static Color getBlueViolet()
      Gets a system-defined color that has an ARGB value of #FF8A2BE2.
      static Color getBrown()
      Gets a system-defined color that has an ARGB value of #FFA52A2A.
      static Color getBurlyWood()
      Gets a system-defined color that has an ARGB value of #FFDEB887.
      static Color getCadetBlue()
      Gets a system-defined color that has an ARGB value of #FF5F9EA0.
      static Color getChartreuse()
      Gets a system-defined color that has an ARGB value of #FF7FFF00.
      static Color getChocolate()
      Gets a system-defined color that has an ARGB value of #FFD2691E.
      int getColorSpace()
      Gets color space that the color represents.
      static Color getCoral()
      Gets a system-defined color that has an ARGB value of #FFFF7F50.
      static Color getCornflowerBlue()
      Gets a system-defined color that has an ARGB value of #FF6495ED.
      static Color getCornsilk()
      Gets a system-defined color that has an ARGB value of #FFFFF8DC.
      static Color getCrimson()
      Gets a system-defined color that has an ARGB value of #FFDC143C.
      static Color getCyan()
      Gets a system-defined color that has an ARGB value of #FF00FFFF.
      static Color getDarkBlue()
      Gets a system-defined color that has an ARGB value of #FF00008B.
      static Color getDarkCyan()
      Gets a system-defined color that has an ARGB value of #FF008B8B.
      static Color getDarkGoldenrod()
      Gets a system-defined color that has an ARGB value of #FFB8860B.
      static Color getDarkGray()
      Gets a system-defined color that has an ARGB value of #FFA9A9A9.
      static Color getDarkGreen()
      Gets a system-defined color that has an ARGB value of #FF006400.
      static Color getDarkKhaki()
      Gets a system-defined color that has an ARGB value of #FFBDB76B.
      static Color getDarkMagenta()
      Gets a system-defined color that has an ARGB value of #FF8B008B.
      static Color getDarkOliveGreen()
      Gets a system-defined color that has an ARGB value of #FF556B2F.
      static Color getDarkOrange()
      Gets a system-defined color that has an ARGB value of #FFFF8C00.
      static Color getDarkOrchid()
      Gets a system-defined color that has an ARGB value of #FF9932CC.
      static Color getDarkRed()
      Gets a system-defined color that has an ARGB value of #FF8B0000.
      static Color getDarkSalmon()
      Gets a system-defined color that has an ARGB value of #FFE9967A.
      static Color getDarkSeaGreen()
      Gets a system-defined color that has an ARGB value of #FF8FBC8F.
      static Color getDarkSlateBlue()
      Gets a system-defined color that has an ARGB value of #FF483D8B.
      static Color getDarkSlateGray()
      Gets a system-defined color that has an ARGB value of #FF2F4F4F.
      static Color getDarkTurquoise()
      Gets a system-defined color that has an ARGB value of #FF00CED1.
      static Color getDarkViolet()
      Gets a system-defined color that has an ARGB value of #FF9400D3.
      double[] getData()
      Color value.
      static Color getDeepPink()
      Gets a system-defined color that has an ARGB value of #FFFF1493.
      static Color getDeepSkyBlue()
      Gets a system-defined color that has an ARGB value of #FF00BFFF.
      static Color getDimGray()
      Gets a system-defined color that has an ARGB value of #FF696969.
      static Color getDodgerBlue()
      Gets a system-defined color that has an ARGB value of #FF1E90FF.
      static Color getFirebrick()
      Gets a system-defined color that has an ARGB value of #FFB22222.
      static Color getFloralWhite()
      Gets a system-defined color that has an ARGB value of #FFFFFAF0.
      static Color getForestGreen()
      Gets a system-defined color that has an ARGB value of #FF228B22.
      static Color getFuchsia()
      Gets a system-defined color that has an ARGB value of #FFFF00FF.
      static Color getGainsboro()
      Gets a system-defined color that has an ARGB value of #FFDCDCDC.
      static Color getGhostWhite()
      Gets a system-defined color that has an ARGB value of #FFF8F8FF.
      static Color getGold()
      Gets a system-defined color that has an ARGB value of #FFFFD700.
      static Color getGoldenrod()
      Gets a system-defined color that has an ARGB value of #FFDAA520.
      static Color getGray()
      Gets a system-defined color that has an ARGB value of #FF808080.
      static Color getGreen()
      Gets a system-defined color that has an ARGB value of #FF008000.
      static Color getGreenYellow()
      Gets a system-defined color that has an ARGB value of #FFADFF2F.
      static Color getHoneydew()
      Gets a system-defined color that has an ARGB value of #FFF0FFF0.
      static Color getHotPink()
      Gets a system-defined color that has an ARGB value of #FFFF69B4.
      static Color getIndianRed()
      Gets a system-defined color that has an ARGB value of #FFCD5C5C.
      static Color getIndigo()
      Gets a system-defined color that has an ARGB value of #FF4B0082.
      static Color getIvory()
      Gets a system-defined color that has an ARGB value of #FFFFFFF0.
      static Color getKhaki()
      Gets a system-defined color that has an ARGB value of #FFF0E68C.
      static Color getLavender()
      Gets a system-defined color that has an ARGB value of #FFE6E6FA.
      static Color getLavenderBlush()
      Gets a system-defined color that has an ARGB value of #FFFFF0F5.
      static Color getLawnGreen()
      Gets a system-defined color that has an ARGB value of #FF7CFC00.
      static Color getLemonChiffon()
      Gets a system-defined color that has an ARGB value of #FFFFFACD.
      static Color getLightBlue()
      Gets a system-defined color that has an ARGB value of #FFADD8E6.
      static Color getLightCoral()
      Gets a system-defined color that has an ARGB value of #FFF08080.
      static Color getLightCyan()
      Gets a system-defined color that has an ARGB value of #FFE0FFFF.
      static Color getLightGoldenrodYellow()
      Gets a system-defined color that has an ARGB value of #FFFAFAD2.
      static Color getLightGray()
      Gets a system-defined color that has an ARGB value of #FFD3D3D3.
      static Color getLightGreen()
      Gets a system-defined color that has an ARGB value of #FF90EE90.
      static Color getLightPink()
      Gets a system-defined color that has an ARGB value of #FFFFB6C1.
      static Color getLightSalmon()
      Gets a system-defined color that has an ARGB value of #FFFFA07A.
      static Color getLightSeaGreen()
      Gets a system-defined color that has an ARGB value of #FF20B2AA.
      static Color getLightSkyBlue()
      Gets a system-defined color that has an ARGB value of #FF87CEFA.
      static Color getLightSlateGray()
      Gets a system-defined color that has an ARGB value of #FF778899.
      static Color getLightSteelBlue()
      Gets a system-defined color that has an ARGB value of #FFB0C4DE.
      static Color getLightYellow()
      Gets a system-defined color that has an ARGB value of #FFFFFFE0.
      static Color getLime()
      Gets a system-defined color that has an ARGB value of #FF00FF00.
      static Color getLimeGreen()
      Gets a system-defined color that has an ARGB value of #FF32CD32.
      static Color getLinen()
      Gets a system-defined color that has an ARGB value of #FFFAF0E6.
      static Color getMagenta()
      Gets a system-defined color that has an ARGB value of #FFFF00FF.
      static Color getMaroon()
      Gets a system-defined color that has an ARGB value of #FF800000.
      static Color getMediumAquamarine()
      Gets a system-defined color that has an ARGB value of #FF66CDAA.
      static Color getMediumBlue()
      Gets a system-defined color that has an ARGB value of #FF0000CD.
      static Color getMediumOrchid()
      Gets a system-defined color that has an ARGB value of #FFBA55D3.
      static Color getMediumPurple()
      Gets a system-defined color that has an ARGB value of #FF9370DB.
      static Color getMediumSeaGreen()
      Gets a system-defined color that has an ARGB value of #FF3CB371.
      static Color getMediumSlateBlue()
      Gets a system-defined color that has an ARGB value of #FF7B68EE.
      static Color getMediumSpringGreen()
      Gets a system-defined color that has an ARGB value of #FF00FA9A.
      static Color getMediumTurquoise()
      Gets a system-defined color that has an ARGB value of #FF48D1CC.
      static Color getMediumVioletRed()
      Gets a system-defined color that has an ARGB value of #FFC71585.
      static Color getMidnightBlue()
      Gets a system-defined color that has an ARGB value of #FF191970.
      static Color getMintCream()
      Gets a system-defined color that has an ARGB value of #FFF5FFFA.
      static Color getMistyRose()
      Gets a system-defined color that has an ARGB value of #FFFFE4E1.
      static Color getMoccasin()
      Gets a system-defined color that has an ARGB value of #FFFFE4B5.
      static Color getNavajoWhite()
      Gets a system-defined color that has an ARGB value of #FFFFDEAD.
      static Color getNavy()
      Gets a system-defined color that has an ARGB value of #FF000080.
      static Color getOldLace()
      Gets a system-defined color that has an ARGB value of #FFFDF5E6.
      static Color getOlive()
      Gets a system-defined color that has an ARGB value of #FF808000.
      static Color getOliveDrab()
      Gets a system-defined color that has an ARGB value of #FF6B8E23.
      static Color getOrange()
      Gets a system-defined color that has an ARGB value of #FFFFA500.
      static Color getOrangeRed()
      Gets a system-defined color that has an ARGB value of #FFFF4500.
      static Color getOrchid()
      Gets a system-defined color that has an ARGB value of #FFDA70D6.
      static Color getPaleGoldenrod()
      Gets a system-defined color that has an ARGB value of #FFEEE8AA.
      static Color getPaleGreen()
      Gets a system-defined color that has an ARGB value of #FF98FB98.
      static Color getPaleTurquoise()
      Gets a system-defined color that has an ARGB value of #FFAFEEEE.
      static Color getPaleVioletRed()
      Gets a system-defined color that has an ARGB value of #FFDB7093.
      static Color getPapayaWhip()
      Gets a system-defined color that has an ARGB value of #FFFFEFD5.
      PatternColorSpace getPatternColorSpace()
      Gets a object that indicates the pattern colorspace.
      static Color getPeachPuff()
      Gets a system-defined color that has an ARGB value of #FFFFDAB9.
      static Color getPeru()
      Gets a system-defined color that has an ARGB value of #FFCD853F.
      static Color getPink()
      Gets a system-defined color that has an ARGB value of #FFFFC0CB.
      static Color getPlum()
      Gets a system-defined color that has an ARGB value of #FFDDA0DD.
      static Color getPowderBlue()
      Gets a system-defined color that has an ARGB value of #FFB0E0E6.
      static Color getPurple()
      Gets a system-defined color that has an ARGB value of #FF800080.
      static Color getRed()
      Gets a system-defined color that has an ARGB value of #FFFF0000.
      static Color getRosyBrown()
      Gets a system-defined color that has an ARGB value of #FFBC8F8F.
      static Color getRoyalBlue()
      Gets a system-defined color that has an ARGB value of #FF4169E1.
      static Color getSaddleBrown()
      Gets a system-defined color that has an ARGB value of #FF8B4513.
      static Color getSalmon()
      Gets a system-defined color that has an ARGB value of #FFFA8072.
      static Color getSandyBrown()
      Gets a system-defined color that has an ARGB value of #FFF4A460.
      static Color getSeaGreen()
      Gets a system-defined color that has an ARGB value of #FF2E8B57.
      static Color getSeaShell()
      Gets a system-defined color that has an ARGB value of #FFFFF5EE.
      static Color getSienna()
      Gets a system-defined color that has an ARGB value of #FFA0522D.
      static Color getSilver()
      Gets a system-defined color that has an ARGB value of #FFC0C0C0.
      static Color getSkyBlue()
      Gets a system-defined color that has an ARGB value of #FF87CEEB.
      static Color getSlateBlue()
      Gets a system-defined color that has an ARGB value of #FF6A5ACD.
      static Color getSlateGray()
      Gets a system-defined color that has an ARGB value of #FF708090.
      static Color getSnow()
      Gets a system-defined color that has an ARGB value of #FFFFFAFA.
      static Color getSpringGreen()
      Gets a system-defined color that has an ARGB value of #FF00FF7F.
      static Color getSteelBlue()
      Gets a system-defined color that has an ARGB value of #FF4682B4.
      static Color getTan()
      Gets a system-defined color that has an ARGB value of #FFD2B48C.
      static Color getTeal()
      Gets a system-defined color that has an ARGB value of #FF008080.
      static Color getThistle()
      Gets a system-defined color that has an ARGB value of #FFD8BFD8.
      static Color getTomato()
      Gets a system-defined color that has an ARGB value of #FFFF6347.
      static Color getTransparent()
      Gets a system-defined color.
      static Color getTurquoise()
      Gets a system-defined color that has an ARGB value of #FF40E0D0.
      static Color getViolet()
      Gets a system-defined color that has an ARGB value of #FFEE82EE.
      static Color getWheat()
      Gets a system-defined color that has an ARGB value of #FFF5DEB3.
      static Color getWhite()
      Gets a system-defined color that has an ARGB value of #FFFFFFFF.
      static Color getWhiteSmoke()
      Gets a system-defined color that has an ARGB value of #FFF5F5F5.
      static Color getYellow()
      Gets a system-defined color that has an ARGB value of #FFFFFF00.
      static Color getYellowGreen()
      Gets a system-defined color that has an ARGB value of #FF9ACD32.
      int hashCode()
      Returns a hash code value for the object.
      static boolean op_Equality(Color x, Color y)
      Returns true if two Colors are equal.
      static boolean op_Inequality(Color x, Color y)
      Returns true if two Colors are not equal.
      static Color parse(String value)
      Extracts color components from the string.
      void setPatternColorSpace(PatternColorSpace value)
      Sets a object that indicates the pattern colorspace.
      Color toRgb()
      Converts color into rgb.
      String toString()
      Converts to string.
    • Field Detail

      • Empty

        public static final Color Empty
        Represents empty color.
    • Constructor Detail

      • Color

        public Color()
        Default constructor.
      • Color

        public Color(double[] vector)
        Constructor
        Parameters:
        vector - double[] array
    • Method Detail

      • getA

        public double getA()

        Gets the alpha component value

        Returns:
        double value
      • getData

        public double[] getData()

        Color value.

        Returns:
        array of double values
      • getColorSpace

        public int getColorSpace()

        Gets color space that the color represents.

        Returns:
        ColorSpace object
      • deepClone

        public Color deepClone()
        Clones this instance
        Returns:
        Color object
      • parse

        public static Color parse(String value)

        Extracts color components from the string.

        Parameters:
        value - String value with color component values.
        Returns:
        Color object.
      • toString

        public String toString()

        Converts to string.

        Overrides:
        toString in class Object
        Returns:
        String representation of the Color object.
      • toRgb

        public Color toRgb()

        Converts color into rgb.

        Returns:
        Rgb color value.
      • fromRgb

        public static Color fromRgb(Color color)

        Gets valid pdf Color object from java.awt.Color value.

        Parameters:
        color - System.Drawing.Color value.
        Returns:
        Color object with each component value in [0..1] range.
      • fromArgb

        public static Color fromArgb(int r,
                                     int g,
                                     int b)

        Gets valid pdf Color object from RGB color components.

        Parameters:
        r - The Red color component (value 0 - 255).
        g - The Green color component (value 0 - 255).
        b - The Blue color component (value 0 - 255).
        Returns:
        Color object with each component value in [0..255] range.
      • fromArgb

        public static Color fromArgb(int a,
                                     int r,
                                     int g,
                                     int b)

        Gets valid pdf Color object from RGB color components.

        Parameters:
        a - The alpha component value (value 0 - 255).
        r - The Red color component (value 0 - 255).
        g - The Green color component (value 0 - 255).
        b - The Blue color component (value 0 - 255).
        Returns:
        Color object with each component value in [0..255] range.
      • fromRgb

        public static Color fromRgb(double r,
                                    double g,
                                    double b)

        Gets valid pdf Color object from RGB color components.

        Parameters:
        r - The Red color component (value 0 - 1).
        g - The Green color component (value 0 - 1).
        b - The Blue color component (value 0 - 1).
        Returns:
        Color object with each component value in [0..1] range.
      • fromGray

        public static Color fromGray(double g)

        Gets valid pdf Color object from Gray color component.

        Parameters:
        g - The Gray color component (value 0 - 1).
        Returns:
        Color object with each component value in [0..1] range.
      • fromCmyk

        public static Color fromCmyk(double c,
                                     double m,
                                     double y,
                                     double k)

        Gets valid pdf Color object from RGB color components.

        Parameters:
        c - The Cyan color component (value 0 - 1).
        m - The Magenta color component (value 0 - 1).
        y - The Yellow color component (value 0 - 1).
        k - The Key color component (value 0 - 1).
        Returns:
        Color object with each component value in [0..1] range.
      • hashCode

        public int hashCode()
        Returns a hash code value for the object. This method is supported for the benefit of hash tables such as those provided by HashMap.

        The general contract of hashCode is:

        • Whenever it is invoked on the same object more than once during an execution of a Java application, the hashCode method must consistently return the same integer, provided no information used in equals comparisons on the object is modified. This integer need not remain consistent from one execution of an application to another execution of the same application.
        • If two objects are equal according to the equals(Object) method, then calling the hashCode method on each of the two objects must produce the same integer result.
        • It is not required that if two objects are unequal according to the Object.equals(java.lang.Object) method, then calling the hashCode method on each of the two objects must produce distinct integer results. However, the programmer should be aware that producing distinct integer results for unequal objects may improve the performance of hash tables.

        As much as is reasonably practical, the hashCode method defined by class Object does return distinct integers for distinct objects. (This is typically implemented by converting the internal address of the object into an integer, but this implementation technique is not required by the JavaTMprogramming language.)

        Overrides:
        hashCode in class Object
        Returns:
        a hash code value for this object.
        See Also:
        Object.equals(java.lang.Object), System.identityHashCode(java.lang.Object)
      • equals

        public boolean equals(Object obj)

        Returns true if two Colors are equal.

        Overrides:
        equals in class Object
        Parameters:
        obj - Object to compare.
        Returns:
        True in case Color objects are equal.
      • op_Equality

        public static boolean op_Equality(Color x,
                                          Color y)

        Returns true if two Colors are equal.

        Parameters:
        x - First Color object.
        y - Second Color object.
        Returns:
        True in case Color objects are equal.
      • op_Inequality

        public static boolean op_Inequality(Color x,
                                            Color y)

        Returns true if two Colors are not equal.

        Parameters:
        x - First Color object.
        y - Second Color object.
        Returns:
        True in case Color objects are not equal.
      • getPatternColorSpace

        public PatternColorSpace getPatternColorSpace()

        Gets a object that indicates the pattern colorspace.

        Internal usage only
        Returns:
        PatternColorSpace object
      • setPatternColorSpace

        public void setPatternColorSpace(PatternColorSpace value)

        Sets a object that indicates the pattern colorspace.

        Internal usage only
        Parameters:
        value - PatternColorSpace object
      • getTransparent

        public static Color getTransparent()

        Gets a system-defined color.

        Returns:
        A representing a system-defined color.
      • getAliceBlue

        public static Color getAliceBlue()

        Gets a system-defined color that has an ARGB value of #FFF0F8FF.

        Returns:
        A representing a system-defined color.
      • getAntiqueWhite

        public static Color getAntiqueWhite()

        Gets a system-defined color that has an ARGB value of #FFFAEBD7.

        Returns:
        A representing a system-defined color.
      • getAqua

        public static Color getAqua()

        Gets a system-defined color that has an ARGB value of #FF00FFFF.

        Returns:
        A representing a system-defined color.
      • getAquamarine

        public static Color getAquamarine()

        Gets a system-defined color that has an ARGB value of #FF7FFFD4.

        Returns:
        A representing a system-defined color.
      • getAzure

        public static Color getAzure()

        Gets a system-defined color that has an ARGB value of #FFF0FFFF.

        Returns:
        A representing a system-defined color.
      • getBeige

        public static Color getBeige()

        Gets a system-defined color that has an ARGB value of #FFF5F5DC.

        Returns:
        A representing a system-defined color.
      • getBisque

        public static Color getBisque()

        Gets a system-defined color that has an ARGB value of #FFFFE4C4.

        Returns:
        A representing a system-defined color.
      • getBlack

        public static Color getBlack()

        Gets a system-defined color that has an ARGB value of #FF000000.

        Returns:
        A representing a system-defined color.
      • getBlanchedAlmond

        public static Color getBlanchedAlmond()

        Gets a system-defined color that has an ARGB value of #FFFFEBCD.

        Returns:
        A representing a system-defined color.
      • getBlue

        public static Color getBlue()

        Gets a system-defined color that has an ARGB value of #FF0000FF.

        Returns:
        A representing a system-defined color.
      • getBlueViolet

        public static Color getBlueViolet()

        Gets a system-defined color that has an ARGB value of #FF8A2BE2.

        Returns:
        A representing a system-defined color.
      • getBrown

        public static Color getBrown()

        Gets a system-defined color that has an ARGB value of #FFA52A2A.

        Returns:
        A representing a system-defined color.
      • getBurlyWood

        public static Color getBurlyWood()

        Gets a system-defined color that has an ARGB value of #FFDEB887.

        Returns:
        A representing a system-defined color.
      • getCadetBlue

        public static Color getCadetBlue()

        Gets a system-defined color that has an ARGB value of #FF5F9EA0.

        Returns:
        A representing a system-defined color.
      • getChartreuse

        public static Color getChartreuse()

        Gets a system-defined color that has an ARGB value of #FF7FFF00.

        Returns:
        A representing a system-defined color.
      • getChocolate

        public static Color getChocolate()

        Gets a system-defined color that has an ARGB value of #FFD2691E.

        Returns:
        A representing a system-defined color.
      • getCoral

        public static Color getCoral()

        Gets a system-defined color that has an ARGB value of #FFFF7F50.

        Returns:
        A representing a system-defined color.
      • getCornflowerBlue

        public static Color getCornflowerBlue()

        Gets a system-defined color that has an ARGB value of #FF6495ED.

        Returns:
        A representing a system-defined color.
      • getCornsilk

        public static Color getCornsilk()

        Gets a system-defined color that has an ARGB value of #FFFFF8DC.

        Returns:
        A representing a system-defined color.
      • getCrimson

        public static Color getCrimson()

        Gets a system-defined color that has an ARGB value of #FFDC143C.

        Returns:
        A representing a system-defined color.
      • getCyan

        public static Color getCyan()

        Gets a system-defined color that has an ARGB value of #FF00FFFF.

        Returns:
        A representing a system-defined color.
      • getDarkBlue

        public static Color getDarkBlue()

        Gets a system-defined color that has an ARGB value of #FF00008B.

        Returns:
        A representing a system-defined color.
      • getDarkCyan

        public static Color getDarkCyan()

        Gets a system-defined color that has an ARGB value of #FF008B8B.

        Returns:
        A representing a system-defined color.
      • getDarkGoldenrod

        public static Color getDarkGoldenrod()

        Gets a system-defined color that has an ARGB value of #FFB8860B.

        Returns:
        A representing a system-defined color.
      • getDarkGray

        public static Color getDarkGray()

        Gets a system-defined color that has an ARGB value of #FFA9A9A9.

        Returns:
        A representing a system-defined color.
      • getDarkGreen

        public static Color getDarkGreen()

        Gets a system-defined color that has an ARGB value of #FF006400.

        Returns:
        A representing a system-defined color.
      • getDarkKhaki

        public static Color getDarkKhaki()

        Gets a system-defined color that has an ARGB value of #FFBDB76B.

        Returns:
        A representing a system-defined color.
      • getDarkMagenta

        public static Color getDarkMagenta()

        Gets a system-defined color that has an ARGB value of #FF8B008B.

        Returns:
        A representing a system-defined color.
      • getDarkOliveGreen

        public static Color getDarkOliveGreen()

        Gets a system-defined color that has an ARGB value of #FF556B2F.

        Returns:
        A representing a system-defined color.
      • getDarkOrange

        public static Color getDarkOrange()

        Gets a system-defined color that has an ARGB value of #FFFF8C00.

        Returns:
        A representing a system-defined color.
      • getDarkOrchid

        public static Color getDarkOrchid()

        Gets a system-defined color that has an ARGB value of #FF9932CC.

        Returns:
        A representing a system-defined color.
      • getDarkRed

        public static Color getDarkRed()

        Gets a system-defined color that has an ARGB value of #FF8B0000.

        Returns:
        A representing a system-defined color.
      • getDarkSalmon

        public static Color getDarkSalmon()

        Gets a system-defined color that has an ARGB value of #FFE9967A.

        Returns:
        A representing a system-defined color.
      • getDarkSeaGreen

        public static Color getDarkSeaGreen()

        Gets a system-defined color that has an ARGB value of #FF8FBC8F.

        Returns:
        A representing a system-defined color.
      • getDarkSlateBlue

        public static Color getDarkSlateBlue()

        Gets a system-defined color that has an ARGB value of #FF483D8B.

        Returns:
        A representing a system-defined color.
      • getDarkSlateGray

        public static Color getDarkSlateGray()

        Gets a system-defined color that has an ARGB value of #FF2F4F4F.

        Returns:
        A representing a system-defined color.
      • getDarkTurquoise

        public static Color getDarkTurquoise()

        Gets a system-defined color that has an ARGB value of #FF00CED1.

        Returns:
        A representing a system-defined color.
      • getDarkViolet

        public static Color getDarkViolet()

        Gets a system-defined color that has an ARGB value of #FF9400D3.

        Returns:
        A representing a system-defined color.
      • getDeepPink

        public static Color getDeepPink()

        Gets a system-defined color that has an ARGB value of #FFFF1493.

        Returns:
        A representing a system-defined color.
      • getDeepSkyBlue

        public static Color getDeepSkyBlue()

        Gets a system-defined color that has an ARGB value of #FF00BFFF.

        Returns:
        A representing a system-defined color.
      • getDimGray

        public static Color getDimGray()

        Gets a system-defined color that has an ARGB value of #FF696969.

        Returns:
        A representing a system-defined color.
      • getDodgerBlue

        public static Color getDodgerBlue()

        Gets a system-defined color that has an ARGB value of #FF1E90FF.

        Returns:
        A representing a system-defined color.
      • getFirebrick

        public static Color getFirebrick()

        Gets a system-defined color that has an ARGB value of #FFB22222.

        Returns:
        A representing a system-defined color.
      • getFloralWhite

        public static Color getFloralWhite()

        Gets a system-defined color that has an ARGB value of #FFFFFAF0.

        Returns:
        A representing a system-defined color.
      • getForestGreen

        public static Color getForestGreen()

        Gets a system-defined color that has an ARGB value of #FF228B22.

        Returns:
        A representing a system-defined color.
      • getFuchsia

        public static Color getFuchsia()

        Gets a system-defined color that has an ARGB value of #FFFF00FF.

        Returns:
        A representing a system-defined color.
      • getGainsboro

        public static Color getGainsboro()

        Gets a system-defined color that has an ARGB value of #FFDCDCDC.

        Returns:
        A representing a system-defined color.
      • getGhostWhite

        public static Color getGhostWhite()

        Gets a system-defined color that has an ARGB value of #FFF8F8FF.

        Returns:
        A representing a system-defined color.
      • getGold

        public static Color getGold()

        Gets a system-defined color that has an ARGB value of #FFFFD700.

        Returns:
        A representing a system-defined color.
      • getGoldenrod

        public static Color getGoldenrod()

        Gets a system-defined color that has an ARGB value of #FFDAA520.

        Returns:
        A representing a system-defined color.
      • getGray

        public static Color getGray()

        Gets a system-defined color that has an ARGB value of #FF808080.

        Returns:
        A strcture representing a system-defined color.
      • getGreen

        public static Color getGreen()

        Gets a system-defined color that has an ARGB value of #FF008000.

        Returns:
        A representing a system-defined color.
      • getGreenYellow

        public static Color getGreenYellow()

        Gets a system-defined color that has an ARGB value of #FFADFF2F.

        Returns:
        A representing a system-defined color.
      • getHoneydew

        public static Color getHoneydew()

        Gets a system-defined color that has an ARGB value of #FFF0FFF0.

        Returns:
        A representing a system-defined color.
      • getHotPink

        public static Color getHotPink()

        Gets a system-defined color that has an ARGB value of #FFFF69B4.

        Returns:
        A representing a system-defined color.
      • getIndianRed

        public static Color getIndianRed()

        Gets a system-defined color that has an ARGB value of #FFCD5C5C.

        Returns:
        A representing a system-defined color.
      • getIndigo

        public static Color getIndigo()

        Gets a system-defined color that has an ARGB value of #FF4B0082.

        Returns:
        A representing a system-defined color.
      • getIvory

        public static Color getIvory()

        Gets a system-defined color that has an ARGB value of #FFFFFFF0.

        Returns:
        A representing a system-defined color.
      • getKhaki

        public static Color getKhaki()

        Gets a system-defined color that has an ARGB value of #FFF0E68C.

        Returns:
        A representing a system-defined color.
      • getLavender

        public static Color getLavender()

        Gets a system-defined color that has an ARGB value of #FFE6E6FA.

        Returns:
        A representing a system-defined color.
      • getLavenderBlush

        public static Color getLavenderBlush()

        Gets a system-defined color that has an ARGB value of #FFFFF0F5.

        Returns:
        A representing a system-defined color.
      • getLawnGreen

        public static Color getLawnGreen()

        Gets a system-defined color that has an ARGB value of #FF7CFC00.

        Returns:
        A representing a system-defined color.
      • getLemonChiffon

        public static Color getLemonChiffon()

        Gets a system-defined color that has an ARGB value of #FFFFFACD.

        Returns:
        A representing a system-defined color.
      • getLightBlue

        public static Color getLightBlue()

        Gets a system-defined color that has an ARGB value of #FFADD8E6.

        Returns:
        A representing a system-defined color.
      • getLightCoral

        public static Color getLightCoral()

        Gets a system-defined color that has an ARGB value of #FFF08080.

        Returns:
        A representing a system-defined color.
      • getLightCyan

        public static Color getLightCyan()

        Gets a system-defined color that has an ARGB value of #FFE0FFFF.

        Returns:
        A representing a system-defined color.
      • getLightGoldenrodYellow

        public static Color getLightGoldenrodYellow()

        Gets a system-defined color that has an ARGB value of #FFFAFAD2.

        Returns:
        A representing a system-defined color.
      • getLightGreen

        public static Color getLightGreen()

        Gets a system-defined color that has an ARGB value of #FF90EE90.

        Returns:
        A representing a system-defined color.
      • getLightGray

        public static Color getLightGray()

        Gets a system-defined color that has an ARGB value of #FFD3D3D3.

        Returns:
        A representing a system-defined color.
      • getLightPink

        public static Color getLightPink()

        Gets a system-defined color that has an ARGB value of #FFFFB6C1.

        Returns:
        A representing a system-defined color.
      • getLightSalmon

        public static Color getLightSalmon()

        Gets a system-defined color that has an ARGB value of #FFFFA07A.

        Returns:
        A representing a system-defined color.
      • getLightSeaGreen

        public static Color getLightSeaGreen()

        Gets a system-defined color that has an ARGB value of #FF20B2AA.

        Returns:
        A representing a system-defined color.
      • getLightSkyBlue

        public static Color getLightSkyBlue()

        Gets a system-defined color that has an ARGB value of #FF87CEFA.

        Returns:
        A representing a system-defined color.
      • getLightSlateGray

        public static Color getLightSlateGray()

        Gets a system-defined color that has an ARGB value of #FF778899.

        Returns:
        A representing a system-defined color.
      • getLightSteelBlue

        public static Color getLightSteelBlue()

        Gets a system-defined color that has an ARGB value of #FFB0C4DE.

        Returns:
        A representing a system-defined color.
      • getLightYellow

        public static Color getLightYellow()

        Gets a system-defined color that has an ARGB value of #FFFFFFE0.

        Returns:
        A representing a system-defined color.
      • getLime

        public static Color getLime()

        Gets a system-defined color that has an ARGB value of #FF00FF00.

        Returns:
        A representing a system-defined color.
      • getLimeGreen

        public static Color getLimeGreen()

        Gets a system-defined color that has an ARGB value of #FF32CD32.

        Returns:
        A representing a system-defined color.
      • getLinen

        public static Color getLinen()

        Gets a system-defined color that has an ARGB value of #FFFAF0E6.

        Returns:
        A representing a system-defined color.
      • getMagenta

        public static Color getMagenta()

        Gets a system-defined color that has an ARGB value of #FFFF00FF.

        Returns:
        A representing a system-defined color.
      • getMaroon

        public static Color getMaroon()

        Gets a system-defined color that has an ARGB value of #FF800000.

        Returns:
        A representing a system-defined color.
      • getMediumAquamarine

        public static Color getMediumAquamarine()

        Gets a system-defined color that has an ARGB value of #FF66CDAA.

        Returns:
        A representing a system-defined color.
      • getMediumBlue

        public static Color getMediumBlue()

        Gets a system-defined color that has an ARGB value of #FF0000CD.

        Returns:
        A representing a system-defined color.
      • getMediumOrchid

        public static Color getMediumOrchid()

        Gets a system-defined color that has an ARGB value of #FFBA55D3.

        Returns:
        A representing a system-defined color.
      • getMediumPurple

        public static Color getMediumPurple()

        Gets a system-defined color that has an ARGB value of #FF9370DB.

        Returns:
        A representing a system-defined color.
      • getMediumSeaGreen

        public static Color getMediumSeaGreen()

        Gets a system-defined color that has an ARGB value of #FF3CB371.

        Returns:
        A representing a system-defined color.
      • getMediumSlateBlue

        public static Color getMediumSlateBlue()

        Gets a system-defined color that has an ARGB value of #FF7B68EE.

        Returns:
        A representing a system-defined color.
      • getMediumSpringGreen

        public static Color getMediumSpringGreen()

        Gets a system-defined color that has an ARGB value of #FF00FA9A.

        Returns:
        A representing a system-defined color.
      • getMediumTurquoise

        public static Color getMediumTurquoise()

        Gets a system-defined color that has an ARGB value of #FF48D1CC.

        Returns:
        A representing a system-defined color.
      • getMediumVioletRed

        public static Color getMediumVioletRed()

        Gets a system-defined color that has an ARGB value of #FFC71585.

        Returns:
        A representing a system-defined color.
      • getMidnightBlue

        public static Color getMidnightBlue()

        Gets a system-defined color that has an ARGB value of #FF191970.

        Returns:
        A representing a system-defined color.
      • getMintCream

        public static Color getMintCream()

        Gets a system-defined color that has an ARGB value of #FFF5FFFA.

        Returns:
        A representing a system-defined color.
      • getMistyRose

        public static Color getMistyRose()

        Gets a system-defined color that has an ARGB value of #FFFFE4E1.

        Returns:
        A representing a system-defined color.
      • getMoccasin

        public static Color getMoccasin()

        Gets a system-defined color that has an ARGB value of #FFFFE4B5.

        Returns:
        A representing a system-defined color.
      • getNavajoWhite

        public static Color getNavajoWhite()

        Gets a system-defined color that has an ARGB value of #FFFFDEAD.

        Returns:
        A representing a system-defined color.
      • getNavy

        public static Color getNavy()

        Gets a system-defined color that has an ARGB value of #FF000080.

        Returns:
        A representing a system-defined color.
      • getOldLace

        public static Color getOldLace()

        Gets a system-defined color that has an ARGB value of #FFFDF5E6.

        Returns:
        A representing a system-defined color.
      • getOlive

        public static Color getOlive()

        Gets a system-defined color that has an ARGB value of #FF808000.

        Returns:
        A representing a system-defined color.
      • getOliveDrab

        public static Color getOliveDrab()

        Gets a system-defined color that has an ARGB value of #FF6B8E23.

        Returns:
        A representing a system-defined color.
      • getOrange

        public static Color getOrange()

        Gets a system-defined color that has an ARGB value of #FFFFA500.

        Returns:
        A representing a system-defined color.
      • getOrangeRed

        public static Color getOrangeRed()

        Gets a system-defined color that has an ARGB value of #FFFF4500.

        Returns:
        A representing a system-defined color.
      • getOrchid

        public static Color getOrchid()

        Gets a system-defined color that has an ARGB value of #FFDA70D6.

        Returns:
        A representing a system-defined color.
      • getPaleGoldenrod

        public static Color getPaleGoldenrod()

        Gets a system-defined color that has an ARGB value of #FFEEE8AA.

        Returns:
        A representing a system-defined color.
      • getPaleGreen

        public static Color getPaleGreen()

        Gets a system-defined color that has an ARGB value of #FF98FB98.

        Returns:
        A representing a system-defined color.
      • getPaleTurquoise

        public static Color getPaleTurquoise()

        Gets a system-defined color that has an ARGB value of #FFAFEEEE.

        Returns:
        A representing a system-defined color.
      • getPaleVioletRed

        public static Color getPaleVioletRed()

        Gets a system-defined color that has an ARGB value of #FFDB7093.

        Returns:
        A representing a system-defined color.
      • getPapayaWhip

        public static Color getPapayaWhip()

        Gets a system-defined color that has an ARGB value of #FFFFEFD5.

        Returns:
        A representing a system-defined color.
      • getPeachPuff

        public static Color getPeachPuff()

        Gets a system-defined color that has an ARGB value of #FFFFDAB9.

        Returns:
        A representing a system-defined color.
      • getPeru

        public static Color getPeru()

        Gets a system-defined color that has an ARGB value of #FFCD853F.

        Returns:
        A representing a system-defined color.
      • getPink

        public static Color getPink()

        Gets a system-defined color that has an ARGB value of #FFFFC0CB.

        Returns:
        A representing a system-defined color.
      • getPlum

        public static Color getPlum()

        Gets a system-defined color that has an ARGB value of #FFDDA0DD.

        Returns:
        A representing a system-defined color.
      • getPowderBlue

        public static Color getPowderBlue()

        Gets a system-defined color that has an ARGB value of #FFB0E0E6.

        Returns:
        A representing a system-defined color.
      • getPurple

        public static Color getPurple()

        Gets a system-defined color that has an ARGB value of #FF800080.

        Returns:
        A representing a system-defined color.
      • getRed

        public static Color getRed()

        Gets a system-defined color that has an ARGB value of #FFFF0000.

        Returns:
        A representing a system-defined color.
      • getRosyBrown

        public static Color getRosyBrown()

        Gets a system-defined color that has an ARGB value of #FFBC8F8F.

        Returns:
        A representing a system-defined color.
      • getRoyalBlue

        public static Color getRoyalBlue()

        Gets a system-defined color that has an ARGB value of #FF4169E1.

        Returns:
        A representing a system-defined color.
      • getSaddleBrown

        public static Color getSaddleBrown()

        Gets a system-defined color that has an ARGB value of #FF8B4513.

        Returns:
        A representing a system-defined color.
      • getSalmon

        public static Color getSalmon()

        Gets a system-defined color that has an ARGB value of #FFFA8072.

        Returns:
        A representing a system-defined color.
      • getSandyBrown

        public static Color getSandyBrown()

        Gets a system-defined color that has an ARGB value of #FFF4A460.

        Returns:
        A representing a system-defined color.
      • getSeaGreen

        public static Color getSeaGreen()

        Gets a system-defined color that has an ARGB value of #FF2E8B57.

        Returns:
        A representing a system-defined color.
      • getSeaShell

        public static Color getSeaShell()

        Gets a system-defined color that has an ARGB value of #FFFFF5EE.

        Returns:
        A representing a system-defined color.
      • getSienna

        public static Color getSienna()

        Gets a system-defined color that has an ARGB value of #FFA0522D.

        Returns:
        A representing a system-defined color.
      • getSilver

        public static Color getSilver()

        Gets a system-defined color that has an ARGB value of #FFC0C0C0.

        Returns:
        A representing a system-defined color.
      • getSkyBlue

        public static Color getSkyBlue()

        Gets a system-defined color that has an ARGB value of #FF87CEEB.

        Returns:
        A representing a system-defined color.
      • getSlateBlue

        public static Color getSlateBlue()

        Gets a system-defined color that has an ARGB value of #FF6A5ACD.

        Returns:
        A representing a system-defined color.
      • getSlateGray

        public static Color getSlateGray()

        Gets a system-defined color that has an ARGB value of #FF708090.

        Returns:
        A representing a system-defined color.
      • getSnow

        public static Color getSnow()

        Gets a system-defined color that has an ARGB value of #FFFFFAFA.

        Returns:
        A representing a system-defined color.
      • getSpringGreen

        public static Color getSpringGreen()

        Gets a system-defined color that has an ARGB value of #FF00FF7F.

        Returns:
        A representing a system-defined color.
      • getSteelBlue

        public static Color getSteelBlue()

        Gets a system-defined color that has an ARGB value of #FF4682B4.

        Returns:
        A representing a system-defined color.
      • getTan

        public static Color getTan()

        Gets a system-defined color that has an ARGB value of #FFD2B48C.

        Returns:
        A representing a system-defined color.
      • getTeal

        public static Color getTeal()

        Gets a system-defined color that has an ARGB value of #FF008080.

        Returns:
        A representing a system-defined color.
      • getThistle

        public static Color getThistle()

        Gets a system-defined color that has an ARGB value of #FFD8BFD8.

        Returns:
        A representing a system-defined color.
      • getTomato

        public static Color getTomato()

        Gets a system-defined color that has an ARGB value of #FFFF6347.

        Returns:
        A representing a system-defined color.
      • getTurquoise

        public static Color getTurquoise()

        Gets a system-defined color that has an ARGB value of #FF40E0D0.

        Returns:
        A representing a system-defined color.
      • getViolet

        public static Color getViolet()

        Gets a system-defined color that has an ARGB value of #FFEE82EE.

        Returns:
        A representing a system-defined color.
      • getWheat

        public static Color getWheat()

        Gets a system-defined color that has an ARGB value of #FFF5DEB3.

        Returns:
        A representing a system-defined color.
      • getWhite

        public static Color getWhite()

        Gets a system-defined color that has an ARGB value of #FFFFFFFF.

        Returns:
        A representing a system-defined color.
      • getWhiteSmoke

        public static Color getWhiteSmoke()

        Gets a system-defined color that has an ARGB value of #FFF5F5F5.

        Returns:
        A representing a system-defined color.
      • getYellow

        public static Color getYellow()

        Gets a system-defined color that has an ARGB value of #FFFFFF00.

        Returns:
        A representing a system-defined color.
      • getYellowGreen

        public static Color getYellowGreen()

        Gets a system-defined color that has an ARGB value of #FF9ACD32.

        Returns:
        A representing a system-defined color.