Xamarin.iOS

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Color

    Show / Hide Table of Contents

    Class Color

    Inheritance
    System.Object
    Color
    Namespace: Syncfusion.Drawing
    Assembly: Syncfusion.Compression.Portable.dll
    Syntax
    public sealed class Color : ValueType

    Fields

    Empty

    Declaration
    public static readonly Color Empty
    Field Value
    Type Description
    Color

    Properties

    A

    Declaration
    public byte A { get; }
    Property Value
    Type Description
    System.Byte

    AliceBlue

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

    AntiqueWhite

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

    Aqua

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

    Aquamarine

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

    Azure

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

    B

    Declaration
    public byte B { get; }
    Property Value
    Type Description
    System.Byte

    Beige

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

    Bisque

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

    Black

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

    BlanchedAlmond

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

    Blue

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

    BlueViolet

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

    Brown

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

    BurlyWood

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

    CadetBlue

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

    Chartreuse

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

    Chocolate

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

    Coral

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

    CornflowerBlue

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

    Cornsilk

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

    Crimson

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

    Cyan

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

    DarkBlue

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

    DarkCyan

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

    DarkGoldenrod

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

    DarkGray

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

    DarkGreen

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

    DarkKhaki

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

    DarkMagenta

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

    DarkOliveGreen

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

    DarkOrange

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

    DarkOrchid

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

    DarkRed

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

    DarkSalmon

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

    DarkSeaGreen

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

    DarkSlateBlue

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

    DarkSlateGray

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

    DarkTurquoise

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

    DarkViolet

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

    DeepPink

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

    DeepSkyBlue

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

    DimGray

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

    DodgerBlue

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

    Firebrick

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

    FloralWhite

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

    ForestGreen

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

    Fuchsia

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

    G

    Declaration
    public byte G { get; }
    Property Value
    Type Description
    System.Byte

    Gainsboro

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

    GhostWhite

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

    Gold

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

    Goldenrod

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

    Gray

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

    Green

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

    GreenYellow

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

    Honeydew

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

    HotPink

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

    IndianRed

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

    Indigo

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

    IsEmpty

    Declaration
    public bool IsEmpty { get; }
    Property Value
    Type Description
    System.Boolean

    IsKnownColor

    Declaration
    public bool IsKnownColor { get; }
    Property Value
    Type Description
    System.Boolean

    IsNamedColor

    Declaration
    public bool IsNamedColor { get; }
    Property Value
    Type Description
    System.Boolean

    IsSystemColor

    Declaration
    public bool IsSystemColor { get; }
    Property Value
    Type Description
    System.Boolean

    Ivory

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

    Khaki

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

    Lavender

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

    LavenderBlush

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

    LawnGreen

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

    LemonChiffon

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

    LightBlue

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

    LightCoral

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

    LightCyan

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

    LightGoldenrodYellow

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

    LightGray

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

    LightGreen

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

    LightPink

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

    LightSalmon

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

    LightSeaGreen

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

    LightSkyBlue

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

    LightSlateGray

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

    LightSteelBlue

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

    LightYellow

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

    Lime

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

    LimeGreen

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

    Linen

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

    Magenta

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

    Maroon

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

    MediumAquamarine

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

    MediumBlue

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

    MediumOrchid

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

    MediumPurple

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

    MediumSeaGreen

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

    MediumSlateBlue

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

    MediumSpringGreen

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

    MediumTurquoise

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

    MediumVioletRed

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

    MidnightBlue

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

    MintCream

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

    MistyRose

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

    Moccasin

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

    Name

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    System.String

    NavajoWhite

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

    Navy

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

    OldLace

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

    Olive

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

    OliveDrab

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

    Orange

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

    OrangeRed

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

    Orchid

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

    PaleGoldenrod

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

    PaleGreen

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

    PaleTurquoise

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

    PaleVioletRed

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

    PapayaWhip

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

    PeachPuff

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

    Peru

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

    Pink

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

    Plum

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

    PowderBlue

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

    Purple

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

    R

    Declaration
    public byte R { get; }
    Property Value
    Type Description
    System.Byte

    Red

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

    RosyBrown

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

    RoyalBlue

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

    SaddleBrown

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

    Salmon

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

    SandyBrown

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

    SeaGreen

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

    SeaShell

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

    Sienna

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

    Silver

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

    SkyBlue

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

    SlateBlue

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

    SlateGray

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

    Snow

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

    SpringGreen

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

    SteelBlue

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

    Tan

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

    Teal

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

    Thistle

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

    Tomato

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

    Transparent

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

    Turquoise

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

    Violet

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

    Wheat

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

    White

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

    WhiteSmoke

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

    Yellow

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

    YellowGreen

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

    Methods

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean

    FromArgb(Int32)

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

    FromArgb(Int32, Color)

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

    FromArgb(Int32, Int32, Int32)

    Declaration
    public static Color FromArgb(int red, int green, int blue)
    Parameters
    Type Name Description
    System.Int32 red
    System.Int32 green
    System.Int32 blue
    Returns
    Type Description
    Color

    FromArgb(Int32, Int32, Int32, Int32)

    Declaration
    public static Color FromArgb(int alpha, int red, int green, int blue)
    Parameters
    Type Name Description
    System.Int32 alpha
    System.Int32 red
    System.Int32 green
    System.Int32 blue
    Returns
    Type Description
    Color

    FromName(String)

    Declaration
    public static Color FromName(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    Color

    GetBrightness()

    Declaration
    public float GetBrightness()
    Returns
    Type Description
    System.Single

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    GetHue()

    Declaration
    public float GetHue()
    Returns
    Type Description
    System.Single

    GetSaturation()

    Declaration
    public float GetSaturation()
    Returns
    Type Description
    System.Single

    IsEnumValid(Enum, Int32, Int32, Int32)

    Declaration
    public static bool IsEnumValid(Enum enumValue, int value, int minValue, int maxValue)
    Parameters
    Type Name Description
    System.Enum enumValue
    System.Int32 value
    System.Int32 minValue
    System.Int32 maxValue
    Returns
    Type Description
    System.Boolean

    ToArgb()

    Declaration
    public int ToArgb()
    Returns
    Type Description
    System.Int32

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    Operators

    Equality(Color, Color)

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

    Inequality(Color, Color)

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

    Extension Methods

    ColorExtension.ToArgb(Color)
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved