[Root] / Xceed.PdfLibrary.NET Assembly / Xceed.PdfLibrary.NET Namespace / Color Structure
In This Topic
    Color Structure
    In This Topic
    Represents a Color.
    Syntax
    [IsReadOnly()]
    [Serializable()]
    public struct Color : System.ValueType 
    Inheritance Hierarchy

    System.Object
       System.ValueType
          Xceed.PdfLibrary.NET.Color

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Fields
     NameDescription
    Public Fieldstatic (Shared in Visual Basic)Represents the Alice Blue color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Antique White color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Aqua color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Aquamarine color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Azure color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Beige color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Bisque color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Black color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Blanched Almond color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Blue color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Blue Violet color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Brown color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Burly Wood color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Cadet Blue color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Chartreuse color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Chocolate color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Coral color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Cornflower Blue color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Cornsilk color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Crimson color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Cyan color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Dark Blue color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Dark Cyan color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Dark Goldenrod color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Dark Gray color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Dark Green color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Dark Khaki color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Dark Magenta color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Dark Olive Green color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Dark Orange color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Dark Orchid color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Dark Red color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Dark Salmon color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Dark Sea Green color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Dark Slate Blue color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Dark Slate Gray color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Dark Turquoise color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Dark Violet color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Deep Pink color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Deep Sky Blue color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Dim Gray color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Dodger Blue color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Firebrick color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Floral White color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Forest Green color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Fuchsia color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Gainsboro color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Ghost White color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Gold color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Goldenrod color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Gray color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Green color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Green Yellow color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Honeydew color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Hot Pink color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Indian Red color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Indigo color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Ivory color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Khaki color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Lavender color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Lavender Blush color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Lawn Green color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Lemon Chiffon color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Light Blue color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Light Coral color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Light Cyan color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Light Goldenrod Yellow color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Light Gray color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Light Green color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Light Pink color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Light Salmon color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Light Sea Green color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Light Sky Blue color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Light Slate Gray color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Light Steel Blue color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Light Yellow color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Lime color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Lime Green color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Linen color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Magenta color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Maroon color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Medium Aquamarine color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Medium Blue color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Medium Orchid color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Medium Purple color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Medium Sea Green color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Medium Slate Blue color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Medium Spring Green color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Medium Turquoise color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Medium Violet Red color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Midnight Blue color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Mint Cream color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Misty Rose color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Moccasin color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Navajo White color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Navy color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Old Lace color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Olive color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Olive Drab color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Orange color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Orange Red color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Orchid color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Pale Goldenrod color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Pale Green color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Pale Turquoise color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Pale Violet Redcolor.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Papaya Whip color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Peach Puff color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Peru color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Pink color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Plum color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Powder Blue color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Purple color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Red color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Rosy Brown color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Royal Blue color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Saddle Brown color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Salmon color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Sandy Brown color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Sea Green color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Sea Shell color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Sienna color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Silver color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Sky Blue color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Slate Blue color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Slate Gray color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Snow color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Spring Green color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Steel Blue color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Tan color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Teal color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Thistle color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Tomato color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Transparent color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Turquoise color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Violet color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Wheat color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the White color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the White Smoke color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Yellow color.  
    Public Fieldstatic (Shared in Visual Basic)Represents the Yellow Green color.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets the Alpha component of the Color.  
    Public PropertyGets the Blue component of the Color.  
    Public PropertyGets the Green component of the Color.  
    Public PropertyGets the Color’s name, if it’s known.  
    Public PropertyGets the Red component of the Color.  
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded.  Indicates whether the current object is equal to another object of the same type.  
    Public MethodReturns the hash code associated with the current instance.  
    Public MethodReturns the fully qualified type name of the current instance.  
    Top
    Public Operators
    Equality operator.
    Inequality operator.
    Top
    Supported Frameworks

    .NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.

    .NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.

    See Also