Search Results for

    Show / Hide Table of Contents

    Struct Color

    Represents an ARGB (alpha, red, green, blue) color.

    Inherited Members
    ValueType.Equals(Object)
    Object.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: System.Drawing
    Assembly: System.Drawing.dll
    Syntax
    public struct Color

    Properties

    | Improve this Doc View Source

    A

    Gets the alpha component value of this System.Drawing.Color structure.

    Declaration
    public readonly byte A { get; }
    Property Value
    Type Description
    Byte
    | Improve this Doc View Source

    AliceBlue

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

    Declaration
    public static readonly Color AliceBlue { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    AntiqueWhite

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

    Declaration
    public static readonly Color AntiqueWhite { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Aqua

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

    Declaration
    public static readonly Color Aqua { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Aquamarine

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

    Declaration
    public static readonly Color Aquamarine { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Azure

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

    Declaration
    public static readonly Color Azure { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    B

    Gets the blue component value of this System.Drawing.Color structure.

    Declaration
    public readonly byte B { get; }
    Property Value
    Type Description
    Byte
    | Improve this Doc View Source

    Beige

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

    Declaration
    public static readonly Color Beige { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Bisque

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

    Declaration
    public static readonly Color Bisque { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Black

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

    Declaration
    public static readonly Color Black { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    BlanchedAlmond

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

    Declaration
    public static readonly Color BlanchedAlmond { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Blue

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

    Declaration
    public static readonly Color Blue { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    BlueViolet

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

    Declaration
    public static readonly Color BlueViolet { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Brown

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

    Declaration
    public static readonly Color Brown { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    BurlyWood

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

    Declaration
    public static readonly Color BurlyWood { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    CadetBlue

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

    Declaration
    public static readonly Color CadetBlue { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Chartreuse

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

    Declaration
    public static readonly Color Chartreuse { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Chocolate

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

    Declaration
    public static readonly Color Chocolate { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Coral

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

    Declaration
    public static readonly Color Coral { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    CornflowerBlue

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

    Declaration
    public static readonly Color CornflowerBlue { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Cornsilk

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

    Declaration
    public static readonly Color Cornsilk { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Crimson

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

    Declaration
    public static readonly Color Crimson { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Cyan

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

    Declaration
    public static readonly Color Cyan { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    DarkBlue

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

    Declaration
    public static readonly Color DarkBlue { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    DarkCyan

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

    Declaration
    public static readonly Color DarkCyan { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    DarkGoldenrod

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

    Declaration
    public static readonly Color DarkGoldenrod { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    DarkGray

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

    Declaration
    public static readonly Color DarkGray { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    DarkGreen

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

    Declaration
    public static readonly Color DarkGreen { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    DarkKhaki

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

    Declaration
    public static readonly Color DarkKhaki { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    DarkMagenta

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

    Declaration
    public static readonly Color DarkMagenta { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    DarkOliveGreen

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

    Declaration
    public static readonly Color DarkOliveGreen { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    DarkOrange

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

    Declaration
    public static readonly Color DarkOrange { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    DarkOrchid

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

    Declaration
    public static readonly Color DarkOrchid { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    DarkRed

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

    Declaration
    public static readonly Color DarkRed { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    DarkSalmon

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

    Declaration
    public static readonly Color DarkSalmon { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    DarkSeaGreen

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

    Declaration
    public static readonly Color DarkSeaGreen { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    DarkSlateBlue

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

    Declaration
    public static readonly Color DarkSlateBlue { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    DarkSlateGray

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

    Declaration
    public static readonly Color DarkSlateGray { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    DarkTurquoise

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

    Declaration
    public static readonly Color DarkTurquoise { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    DarkViolet

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

    Declaration
    public static readonly Color DarkViolet { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    DeepPink

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

    Declaration
    public static readonly Color DeepPink { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    DeepSkyBlue

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

    Declaration
    public static readonly Color DeepSkyBlue { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    DimGray

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

    Declaration
    public static readonly Color DimGray { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    DodgerBlue

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

    Declaration
    public static readonly Color DodgerBlue { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Firebrick

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

    Declaration
    public static readonly Color Firebrick { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    FloralWhite

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

    Declaration
    public static readonly Color FloralWhite { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    ForestGreen

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

    Declaration
    public static readonly Color ForestGreen { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Fuchsia

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

    Declaration
    public static readonly Color Fuchsia { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    G

    Gets the green component value of this System.Drawing.Color structure.

    Declaration
    public readonly byte G { get; }
    Property Value
    Type Description
    Byte
    | Improve this Doc View Source

    Gainsboro

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

    Declaration
    public static readonly Color Gainsboro { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    GhostWhite

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

    Declaration
    public static readonly Color GhostWhite { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Gold

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

    Declaration
    public static readonly Color Gold { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Goldenrod

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

    Declaration
    public static readonly Color Goldenrod { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Gray

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

    Declaration
    public static readonly Color Gray { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color structure representing a system-defined color.

    | Improve this Doc View Source

    Green

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

    Declaration
    public static readonly Color Green { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    GreenYellow

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

    Declaration
    public static readonly Color GreenYellow { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Honeydew

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

    Declaration
    public static readonly Color Honeydew { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    HotPink

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

    Declaration
    public static readonly Color HotPink { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    IndianRed

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

    Declaration
    public static readonly Color IndianRed { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Indigo

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

    Declaration
    public static readonly Color Indigo { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Ivory

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

    Declaration
    public static readonly Color Ivory { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Khaki

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

    Declaration
    public static readonly Color Khaki { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Lavender

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

    Declaration
    public static readonly Color Lavender { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    LavenderBlush

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

    Declaration
    public static readonly Color LavenderBlush { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    LawnGreen

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

    Declaration
    public static readonly Color LawnGreen { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    LemonChiffon

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

    Declaration
    public static readonly Color LemonChiffon { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    LightBlue

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

    Declaration
    public static readonly Color LightBlue { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    LightCoral

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

    Declaration
    public static readonly Color LightCoral { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    LightCyan

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

    Declaration
    public static readonly Color LightCyan { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    LightGoldenrodYellow

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

    Declaration
    public static readonly Color LightGoldenrodYellow { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    LightGray

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

    Declaration
    public static readonly Color LightGray { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    LightGreen

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

    Declaration
    public static readonly Color LightGreen { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    LightPink

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

    Declaration
    public static readonly Color LightPink { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    LightSalmon

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

    Declaration
    public static readonly Color LightSalmon { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    LightSeaGreen

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

    Declaration
    public static readonly Color LightSeaGreen { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    LightSkyBlue

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

    Declaration
    public static readonly Color LightSkyBlue { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    LightSlateGray

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

    Declaration
    public static readonly Color LightSlateGray { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    LightSteelBlue

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

    Declaration
    public static readonly Color LightSteelBlue { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    LightYellow

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

    Declaration
    public static readonly Color LightYellow { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Lime

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

    Declaration
    public static readonly Color Lime { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    LimeGreen

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

    Declaration
    public static readonly Color LimeGreen { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Linen

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

    Declaration
    public static readonly Color Linen { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Magenta

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

    Declaration
    public static readonly Color Magenta { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Maroon

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

    Declaration
    public static readonly Color Maroon { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    MediumAquamarine

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

    Declaration
    public static readonly Color MediumAquamarine { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    MediumBlue

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

    Declaration
    public static readonly Color MediumBlue { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    MediumOrchid

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

    Declaration
    public static readonly Color MediumOrchid { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    MediumPurple

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

    Declaration
    public static readonly Color MediumPurple { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    MediumSeaGreen

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

    Declaration
    public static readonly Color MediumSeaGreen { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    MediumSlateBlue

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

    Declaration
    public static readonly Color MediumSlateBlue { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    MediumSpringGreen

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

    Declaration
    public static readonly Color MediumSpringGreen { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    MediumTurquoise

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

    Declaration
    public static readonly Color MediumTurquoise { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    MediumVioletRed

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

    Declaration
    public static readonly Color MediumVioletRed { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    MidnightBlue

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

    Declaration
    public static readonly Color MidnightBlue { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    MintCream

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

    Declaration
    public static readonly Color MintCream { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    MistyRose

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

    Declaration
    public static readonly Color MistyRose { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Moccasin

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

    Declaration
    public static readonly Color Moccasin { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    NavajoWhite

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

    Declaration
    public static readonly Color NavajoWhite { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Navy

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

    Declaration
    public static readonly Color Navy { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    OldLace

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

    Declaration
    public static readonly Color OldLace { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Olive

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

    Declaration
    public static readonly Color Olive { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    OliveDrab

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

    Declaration
    public static readonly Color OliveDrab { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Orange

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

    Declaration
    public static readonly Color Orange { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    OrangeRed

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

    Declaration
    public static readonly Color OrangeRed { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Orchid

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

    Declaration
    public static readonly Color Orchid { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    PaleGoldenrod

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

    Declaration
    public static readonly Color PaleGoldenrod { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    PaleGreen

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

    Declaration
    public static readonly Color PaleGreen { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    PaleTurquoise

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

    Declaration
    public static readonly Color PaleTurquoise { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    PaleVioletRed

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

    Declaration
    public static readonly Color PaleVioletRed { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    PapayaWhip

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

    Declaration
    public static readonly Color PapayaWhip { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    PeachPuff

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

    Declaration
    public static readonly Color PeachPuff { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Peru

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

    Declaration
    public static readonly Color Peru { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Pink

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

    Declaration
    public static readonly Color Pink { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Plum

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

    Declaration
    public static readonly Color Plum { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    PowderBlue

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

    Declaration
    public static readonly Color PowderBlue { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Purple

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

    Declaration
    public static readonly Color Purple { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    R

    Gets the red component value of this System.Drawing.Color structure.

    Declaration
    public readonly byte R { get; }
    Property Value
    Type Description
    Byte
    | Improve this Doc View Source

    Red

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

    Declaration
    public static readonly Color Red { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    RosyBrown

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

    Declaration
    public static readonly Color RosyBrown { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    RoyalBlue

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

    Declaration
    public static readonly Color RoyalBlue { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    SaddleBrown

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

    Declaration
    public static readonly Color SaddleBrown { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Salmon

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

    Declaration
    public static readonly Color Salmon { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    SandyBrown

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

    Declaration
    public static readonly Color SandyBrown { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    SeaGreen

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

    Declaration
    public static readonly Color SeaGreen { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    SeaShell

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

    Declaration
    public static readonly Color SeaShell { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Sienna

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

    Declaration
    public static readonly Color Sienna { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Silver

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

    Declaration
    public static readonly Color Silver { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    SkyBlue

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

    Declaration
    public static readonly Color SkyBlue { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    SlateBlue

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

    Declaration
    public static readonly Color SlateBlue { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    SlateGray

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

    Declaration
    public static readonly Color SlateGray { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Snow

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

    Declaration
    public static readonly Color Snow { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    SpringGreen

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

    Declaration
    public static readonly Color SpringGreen { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    SteelBlue

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

    Declaration
    public static readonly Color SteelBlue { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Tan

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

    Declaration
    public static readonly Color Tan { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Teal

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

    Declaration
    public static readonly Color Teal { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Thistle

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

    Declaration
    public static readonly Color Thistle { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Tomato

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

    Declaration
    public static readonly Color Tomato { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Transparent

    Gets a system-defined color.

    Declaration
    public static readonly Color Transparent { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Turquoise

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

    Declaration
    public static readonly Color Turquoise { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Violet

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

    Declaration
    public static readonly Color Violet { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Wheat

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

    Declaration
    public static readonly Color Wheat { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    White

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

    Declaration
    public static readonly Color White { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    WhiteSmoke

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

    Declaration
    public static readonly Color WhiteSmoke { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    Yellow

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

    Declaration
    public static readonly Color Yellow { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    | Improve this Doc View Source

    YellowGreen

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

    Declaration
    public static readonly Color YellowGreen { get; }
    Property Value
    Type Description
    Color

    A System.Drawing.Color representing a system-defined color.

    Methods

    | Improve this Doc View Source

    Equals(Color)

    Indicates whether the current object is equal to another object of the same type.

    Declaration
    public bool Equals(Color other)
    Parameters
    Type Name Description
    Color other

    An object to compare with this object.

    Returns
    Type Description
    Boolean

    true if the current object is equal to other; otherwise, false.

    | Improve this Doc View Source

    FromArgb(Int32)

    Creates a System.Drawing.Color structure from a 32-bit ARGB value.

    Declaration
    public static Color FromArgb(int argb)
    Parameters
    Type Name Description
    Int32 argb

    A value specifying the 32-bit ARGB value.

    Returns
    Type Description
    Color

    The System.Drawing.Color structure that this method creates.

    | Improve this Doc View Source

    FromArgb(Int32, Color)

    Creates a System.Drawing.Color structure from the specified System.Drawing.Color structure, but with the new specified alpha value. Although this method allows a 32-bit value to be passed for the alpha value, the value is limited to 8 bits.

    Declaration
    public static Color FromArgb(int alpha, Color baseColor)
    Parameters
    Type Name Description
    Int32 alpha

    The alpha value for the new System.Drawing.Color. Valid values are 0 through 255.

    Color baseColor

    The System.Drawing.Color from which to create the new System.Drawing.Color.

    Returns
    Type Description
    Color

    The System.Drawing.Color that this method creates.

    | Improve this Doc View Source

    FromArgb(Int32, Int32, Int32)

    Creates a System.Drawing.Color structure from the specified 8-bit color values (red, green, and blue). The alpha value is implicitly 255 (fully opaque). Although this method allows a 32-bit value to be passed for each color component, the value of each component is limited to 8 bits.

    Declaration
    public static Color FromArgb(int r, int g, int b)
    Parameters
    Type Name Description
    Int32 r

    The red component value for the new System.Drawing.Color. Valid values are 0 through 255.

    Int32 g

    The green component value for the new System.Drawing.Color. Valid values are 0 through 255.

    Int32 b

    The blue component value for the new System.Drawing.Color. Valid values are 0 through 255.

    Returns
    Type Description
    Color

    The System.Drawing.Color structure that this method creates.

    | Improve this Doc View Source

    FromArgb(Int32, Int32, Int32, Int32)

    Creates a System.Drawing.Color structure from the specified 8-bit color values (red, green, and blue). The alpha value is implicitly 255 (fully opaque). Although this method allows a 32-bit value to be passed for each color component, the value of each component is limited to 8 bits.

    Declaration
    public static Color FromArgb(int a, int r, int g, int b)
    Parameters
    Type Name Description
    Int32 a

    The alpha component value for the new System.Drawing.Color. Valid values are 0 through 255.

    Int32 r

    The red component value for the new System.Drawing.Color. Valid values are 0 through 255.

    Int32 g

    The green component value for the new System.Drawing.Color. Valid values are 0 through 255.

    Int32 b

    The blue component value for the new System.Drawing.Color. Valid values are 0 through 255.

    Returns
    Type Description
    Color

    The System.Drawing.Color structure that this method creates.

    | Improve this Doc View Source

    GetBrightness()

    Gets the hue-saturation-lightness (HSL) lightness value for this System.Drawing.Color structure.

    Declaration
    public float GetBrightness()
    Returns
    Type Description
    Single

    The lightness of this System.Drawing.Color. The lightness ranges from 0.0 through 1.0, where 0.0 represents black and 1.0 represents white.

    | Improve this Doc View Source

    GetHashCode()

    Returns a hash code for this System.Drawing.Color structure.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    An integer value that specifies the hash code for this System.Drawing.Color.

    Overrides
    Object.GetHashCode()
    | Improve this Doc View Source

    GetHue()

    Gets the hue-saturation-lightness (HSL) hue value, in degrees, for this System.Drawing.Color structure.

    Declaration
    public float GetHue()
    Returns
    Type Description
    Single

    The hue, in degrees, of this System.Drawing.Color. The hue is measured in degrees, ranging from 0.0 through 360.0, in HSL color space.

    | Improve this Doc View Source

    GetSaturation()

    Gets the hue-saturation-lightness (HSL) saturation value for this System.Drawing.Color structure.

    Declaration
    public float GetSaturation()
    Returns
    Type Description
    Single

    The saturation of this System.Drawing.Color. The saturation ranges from 0.0 through 1.0, where 0.0 is grayscale and 1.0 is the most saturated.

    | Improve this Doc View Source

    ParseHex(String)

    Convert String into an Color struct.

    Declaration
    public static Color ParseHex(string hexString)
    Parameters
    Type Name Description
    String hexString

    Color String. Allowed formats are #AARRGGBB #RRGGBB #ARGB #RGB.

    Returns
    Type Description
    Color

    Returns an Color struct otherwise throws an exception.

    | Improve this Doc View Source

    ParseHexChar(Char)

    Internal Helper function for ParseHex.

    Declaration
    public static int ParseHexChar(char intChar)
    Parameters
    Type Name Description
    Char intChar

    Value to convert.

    Returns
    Type Description
    Int32

    Int value.

    | Improve this Doc View Source

    ToArgb()

    Gets the 32-bit ARGB value of this System.Drawing.Color structure.

    Declaration
    public int ToArgb()
    Returns
    Type Description
    Int32

    The 32-bit ARGB value of this System.Drawing.Color.

    Operators

    | Improve this Doc View Source

    Equality(Color, Color)

    Tests whether two specified System.Drawing.Color structures are equivalent.

    Declaration
    public static bool operator ==(Color left, Color right)
    Parameters
    Type Name Description
    Color left

    The System.Drawing.Color that is to the left of the equality operator.

    Color right

    The System.Drawing.Color that is to the right of the equality operator.

    Returns
    Type Description
    Boolean

    true if the two System.Drawing.Color structures are equal; otherwise, false.

    | Improve this Doc View Source

    Inequality(Color, Color)

    Tests whether two specified System.Drawing.Color structures are different.

    Declaration
    public static bool operator !=(Color left, Color right)
    Parameters
    Type Name Description
    Color left

    The System.Drawing.Color that is to the left of the inequality operator.

    Color right

    The System.Drawing.Color that is to the right of the inequality operator.

    Returns
    Type Description
    Boolean

    true if the two System.Drawing.Color structures are different; otherwise, false.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 nanoFramework Contributors
    Generated by DocFX