csharpc-sharpdotnetxamlavaloniauicross-platformcross-platform-xamlavaloniaguimulti-platformuser-interfacedotnetcore
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
716 lines
16 KiB
716 lines
16 KiB
// -----------------------------------------------------------------------
|
|
// <copyright file="Colors.cs" company="Steven Kirk">
|
|
// Copyright 2014 MIT Licence. See licence.md for more information.
|
|
// </copyright>
|
|
// -----------------------------------------------------------------------
|
|
|
|
namespace Perspex.Media
|
|
{
|
|
public sealed class Colors
|
|
{
|
|
public static Color AliceBlue
|
|
{
|
|
get { return Color.FromUInt32(0xfff0f8ff); }
|
|
}
|
|
|
|
public static Color AntiqueWhite
|
|
{
|
|
get { return Color.FromUInt32(0xfffaebd7); }
|
|
}
|
|
|
|
public static Color Aqua
|
|
{
|
|
get { return Color.FromUInt32(0xff00ffff); }
|
|
}
|
|
|
|
public static Color Aquamarine
|
|
{
|
|
get { return Color.FromUInt32(0xff7fffd4); }
|
|
}
|
|
|
|
public static Color Azure
|
|
{
|
|
get { return Color.FromUInt32(0xfff0ffff); }
|
|
}
|
|
|
|
public static Color Beige
|
|
{
|
|
get { return Color.FromUInt32(0xfff5f5dc); }
|
|
}
|
|
|
|
public static Color Bisque
|
|
{
|
|
get { return Color.FromUInt32(0xffffe4c4); }
|
|
}
|
|
|
|
public static Color Black
|
|
{
|
|
get { return Color.FromUInt32(0xff000000); }
|
|
}
|
|
|
|
public static Color BlanchedAlmond
|
|
{
|
|
get { return Color.FromUInt32(0xffffebcd); }
|
|
}
|
|
|
|
public static Color Blue
|
|
{
|
|
get { return Color.FromUInt32(0xff0000ff); }
|
|
}
|
|
|
|
public static Color BlueViolet
|
|
{
|
|
get { return Color.FromUInt32(0xff8a2be2); }
|
|
}
|
|
|
|
public static Color Brown
|
|
{
|
|
get { return Color.FromUInt32(0xffa52a2a); }
|
|
}
|
|
|
|
public static Color BurlyWood
|
|
{
|
|
get { return Color.FromUInt32(0xffdeb887); }
|
|
}
|
|
|
|
public static Color CadetBlue
|
|
{
|
|
get { return Color.FromUInt32(0xff5f9ea0); }
|
|
}
|
|
|
|
public static Color Chartreuse
|
|
{
|
|
get { return Color.FromUInt32(0xff7fff00); }
|
|
}
|
|
|
|
public static Color Chocolate
|
|
{
|
|
get { return Color.FromUInt32(0xffd2691e); }
|
|
}
|
|
|
|
public static Color Coral
|
|
{
|
|
get { return Color.FromUInt32(0xffff7f50); }
|
|
}
|
|
|
|
public static Color CornflowerBlue
|
|
{
|
|
get { return Color.FromUInt32(0xff6495ed); }
|
|
}
|
|
|
|
public static Color Cornsilk
|
|
{
|
|
get { return Color.FromUInt32(0xfffff8dc); }
|
|
}
|
|
|
|
public static Color Crimson
|
|
{
|
|
get { return Color.FromUInt32(0xffdc143c); }
|
|
}
|
|
|
|
public static Color Cyan
|
|
{
|
|
get { return Color.FromUInt32(0xff00ffff); }
|
|
}
|
|
|
|
public static Color DarkBlue
|
|
{
|
|
get { return Color.FromUInt32(0xff00008b); }
|
|
}
|
|
|
|
public static Color DarkCyan
|
|
{
|
|
get { return Color.FromUInt32(0xff008b8b); }
|
|
}
|
|
|
|
public static Color DarkGoldenrod
|
|
{
|
|
get { return Color.FromUInt32(0xffb8860b); }
|
|
}
|
|
|
|
public static Color DarkGray
|
|
{
|
|
get { return Color.FromUInt32(0xffa9a9a9); }
|
|
}
|
|
|
|
public static Color DarkGreen
|
|
{
|
|
get { return Color.FromUInt32(0xff006400); }
|
|
}
|
|
|
|
public static Color DarkKhaki
|
|
{
|
|
get { return Color.FromUInt32(0xffbdb76b); }
|
|
}
|
|
|
|
public static Color DarkMagenta
|
|
{
|
|
get { return Color.FromUInt32(0xff8b008b); }
|
|
}
|
|
|
|
public static Color DarkOliveGreen
|
|
{
|
|
get { return Color.FromUInt32(0xff556b2f); }
|
|
}
|
|
|
|
public static Color DarkOrange
|
|
{
|
|
get { return Color.FromUInt32(0xffff8c00); }
|
|
}
|
|
|
|
public static Color DarkOrchid
|
|
{
|
|
get { return Color.FromUInt32(0xff9932cc); }
|
|
}
|
|
|
|
public static Color DarkRed
|
|
{
|
|
get { return Color.FromUInt32(0xff8b0000); }
|
|
}
|
|
|
|
public static Color DarkSalmon
|
|
{
|
|
get { return Color.FromUInt32(0xffe9967a); }
|
|
}
|
|
|
|
public static Color DarkSeaGreen
|
|
{
|
|
get { return Color.FromUInt32(0xff8fbc8f); }
|
|
}
|
|
|
|
public static Color DarkSlateBlue
|
|
{
|
|
get { return Color.FromUInt32(0xff483d8b); }
|
|
}
|
|
|
|
public static Color DarkSlateGray
|
|
{
|
|
get { return Color.FromUInt32(0xff2f4f4f); }
|
|
}
|
|
|
|
public static Color DarkTurquoise
|
|
{
|
|
get { return Color.FromUInt32(0xff00ced1); }
|
|
}
|
|
|
|
public static Color DarkViolet
|
|
{
|
|
get { return Color.FromUInt32(0xff9400d3); }
|
|
}
|
|
|
|
public static Color DeepPink
|
|
{
|
|
get { return Color.FromUInt32(0xffff1493); }
|
|
}
|
|
|
|
public static Color DeepSkyBlue
|
|
{
|
|
get { return Color.FromUInt32(0xff00bfff); }
|
|
}
|
|
|
|
public static Color DimGray
|
|
{
|
|
get { return Color.FromUInt32(0xff696969); }
|
|
}
|
|
|
|
public static Color DodgerBlue
|
|
{
|
|
get { return Color.FromUInt32(0xff1e90ff); }
|
|
}
|
|
|
|
public static Color Firebrick
|
|
{
|
|
get { return Color.FromUInt32(0xffb22222); }
|
|
}
|
|
|
|
public static Color FloralWhite
|
|
{
|
|
get { return Color.FromUInt32(0xfffffaf0); }
|
|
}
|
|
|
|
public static Color ForestGreen
|
|
{
|
|
get { return Color.FromUInt32(0xff228b22); }
|
|
}
|
|
|
|
public static Color Fuchsia
|
|
{
|
|
get { return Color.FromUInt32(0xffff00ff); }
|
|
}
|
|
|
|
public static Color Gainsboro
|
|
{
|
|
get { return Color.FromUInt32(0xffdcdcdc); }
|
|
}
|
|
|
|
public static Color GhostWhite
|
|
{
|
|
get { return Color.FromUInt32(0xfff8f8ff); }
|
|
}
|
|
|
|
public static Color Gold
|
|
{
|
|
get { return Color.FromUInt32(0xffffd700); }
|
|
}
|
|
|
|
public static Color Goldenrod
|
|
{
|
|
get { return Color.FromUInt32(0xffdaa520); }
|
|
}
|
|
|
|
public static Color Gray
|
|
{
|
|
get { return Color.FromUInt32(0xff808080); }
|
|
}
|
|
|
|
public static Color Green
|
|
{
|
|
get { return Color.FromUInt32(0xff008000); }
|
|
}
|
|
|
|
public static Color GreenYellow
|
|
{
|
|
get { return Color.FromUInt32(0xffadff2f); }
|
|
}
|
|
|
|
public static Color Honeydew
|
|
{
|
|
get { return Color.FromUInt32(0xfff0fff0); }
|
|
}
|
|
|
|
public static Color HotPink
|
|
{
|
|
get { return Color.FromUInt32(0xffff69b4); }
|
|
}
|
|
|
|
public static Color IndianRed
|
|
{
|
|
get { return Color.FromUInt32(0xffcd5c5c); }
|
|
}
|
|
|
|
public static Color Indigo
|
|
{
|
|
get { return Color.FromUInt32(0xff4b0082); }
|
|
}
|
|
|
|
public static Color Ivory
|
|
{
|
|
get { return Color.FromUInt32(0xfffffff0); }
|
|
}
|
|
|
|
public static Color Khaki
|
|
{
|
|
get { return Color.FromUInt32(0xfff0e68c); }
|
|
}
|
|
|
|
public static Color Lavender
|
|
{
|
|
get { return Color.FromUInt32(0xffe6e6fa); }
|
|
}
|
|
|
|
public static Color LavenderBlush
|
|
{
|
|
get { return Color.FromUInt32(0xfffff0f5); }
|
|
}
|
|
|
|
public static Color LawnGreen
|
|
{
|
|
get { return Color.FromUInt32(0xff7cfc00); }
|
|
}
|
|
|
|
public static Color LemonChiffon
|
|
{
|
|
get { return Color.FromUInt32(0xfffffacd); }
|
|
}
|
|
|
|
public static Color LightBlue
|
|
{
|
|
get { return Color.FromUInt32(0xffadd8e6); }
|
|
}
|
|
|
|
public static Color LightCoral
|
|
{
|
|
get { return Color.FromUInt32(0xfff08080); }
|
|
}
|
|
|
|
public static Color LightCyan
|
|
{
|
|
get { return Color.FromUInt32(0xffe0ffff); }
|
|
}
|
|
|
|
public static Color LightGoldenrodYellow
|
|
{
|
|
get { return Color.FromUInt32(0xfffafad2); }
|
|
}
|
|
|
|
public static Color LightGray
|
|
{
|
|
get { return Color.FromUInt32(0xffd3d3d3); }
|
|
}
|
|
|
|
public static Color LightGreen
|
|
{
|
|
get { return Color.FromUInt32(0xff90ee90); }
|
|
}
|
|
|
|
public static Color LightPink
|
|
{
|
|
get { return Color.FromUInt32(0xffffb6c1); }
|
|
}
|
|
|
|
public static Color LightSalmon
|
|
{
|
|
get { return Color.FromUInt32(0xffffa07a); }
|
|
}
|
|
|
|
public static Color LightSeaGreen
|
|
{
|
|
get { return Color.FromUInt32(0xff20b2aa); }
|
|
}
|
|
|
|
public static Color LightSkyBlue
|
|
{
|
|
get { return Color.FromUInt32(0xff87cefa); }
|
|
}
|
|
|
|
public static Color LightSlateGray
|
|
{
|
|
get { return Color.FromUInt32(0xff778899); }
|
|
}
|
|
|
|
public static Color LightSteelBlue
|
|
{
|
|
get { return Color.FromUInt32(0xffb0c4de); }
|
|
}
|
|
|
|
public static Color LightYellow
|
|
{
|
|
get { return Color.FromUInt32(0xffffffe0); }
|
|
}
|
|
|
|
public static Color Lime
|
|
{
|
|
get { return Color.FromUInt32(0xff00ff00); }
|
|
}
|
|
|
|
public static Color LimeGreen
|
|
{
|
|
get { return Color.FromUInt32(0xff32cd32); }
|
|
}
|
|
|
|
public static Color Linen
|
|
{
|
|
get { return Color.FromUInt32(0xfffaf0e6); }
|
|
}
|
|
|
|
public static Color Magenta
|
|
{
|
|
get { return Color.FromUInt32(0xffff00ff); }
|
|
}
|
|
|
|
public static Color Maroon
|
|
{
|
|
get { return Color.FromUInt32(0xff800000); }
|
|
}
|
|
|
|
public static Color MediumAquamarine
|
|
{
|
|
get { return Color.FromUInt32(0xff66cdaa); }
|
|
}
|
|
|
|
public static Color MediumBlue
|
|
{
|
|
get { return Color.FromUInt32(0xff0000cd); }
|
|
}
|
|
|
|
public static Color MediumOrchid
|
|
{
|
|
get { return Color.FromUInt32(0xffba55d3); }
|
|
}
|
|
|
|
public static Color MediumPurple
|
|
{
|
|
get { return Color.FromUInt32(0xff9370db); }
|
|
}
|
|
|
|
public static Color MediumSeaGreen
|
|
{
|
|
get { return Color.FromUInt32(0xff3cb371); }
|
|
}
|
|
|
|
public static Color MediumSlateBlue
|
|
{
|
|
get { return Color.FromUInt32(0xff7b68ee); }
|
|
}
|
|
|
|
public static Color MediumSpringGreen
|
|
{
|
|
get { return Color.FromUInt32(0xff00fa9a); }
|
|
}
|
|
|
|
public static Color MediumTurquoise
|
|
{
|
|
get { return Color.FromUInt32(0xff48d1cc); }
|
|
}
|
|
|
|
public static Color MediumVioletRed
|
|
{
|
|
get { return Color.FromUInt32(0xffc71585); }
|
|
}
|
|
|
|
public static Color MidnightBlue
|
|
{
|
|
get { return Color.FromUInt32(0xff191970); }
|
|
}
|
|
|
|
public static Color MintCream
|
|
{
|
|
get { return Color.FromUInt32(0xfff5fffa); }
|
|
}
|
|
|
|
public static Color MistyRose
|
|
{
|
|
get { return Color.FromUInt32(0xffffe4e1); }
|
|
}
|
|
|
|
public static Color Moccasin
|
|
{
|
|
get { return Color.FromUInt32(0xffffe4b5); }
|
|
}
|
|
|
|
public static Color NavajoWhite
|
|
{
|
|
get { return Color.FromUInt32(0xffffdead); }
|
|
}
|
|
|
|
public static Color Navy
|
|
{
|
|
get { return Color.FromUInt32(0xff000080); }
|
|
}
|
|
|
|
public static Color OldLace
|
|
{
|
|
get { return Color.FromUInt32(0xfffdf5e6); }
|
|
}
|
|
|
|
public static Color Olive
|
|
{
|
|
get { return Color.FromUInt32(0xff808000); }
|
|
}
|
|
|
|
public static Color OliveDrab
|
|
{
|
|
get { return Color.FromUInt32(0xff6b8e23); }
|
|
}
|
|
|
|
public static Color Orange
|
|
{
|
|
get { return Color.FromUInt32(0xffffa500); }
|
|
}
|
|
|
|
public static Color OrangeRed
|
|
{
|
|
get { return Color.FromUInt32(0xffff4500); }
|
|
}
|
|
|
|
public static Color Orchid
|
|
{
|
|
get { return Color.FromUInt32(0xffda70d6); }
|
|
}
|
|
|
|
public static Color PaleGoldenrod
|
|
{
|
|
get { return Color.FromUInt32(0xffeee8aa); }
|
|
}
|
|
|
|
public static Color PaleGreen
|
|
{
|
|
get { return Color.FromUInt32(0xff98fb98); }
|
|
}
|
|
|
|
public static Color PaleTurquoise
|
|
{
|
|
get { return Color.FromUInt32(0xffafeeee); }
|
|
}
|
|
|
|
public static Color PaleVioletRed
|
|
{
|
|
get { return Color.FromUInt32(0xffdb7093); }
|
|
}
|
|
|
|
public static Color PapayaWhip
|
|
{
|
|
get { return Color.FromUInt32(0xffffefd5); }
|
|
}
|
|
|
|
public static Color PeachPuff
|
|
{
|
|
get { return Color.FromUInt32(0xffffdab9); }
|
|
}
|
|
|
|
public static Color Peru
|
|
{
|
|
get { return Color.FromUInt32(0xffcd853f); }
|
|
}
|
|
|
|
public static Color Pink
|
|
{
|
|
get { return Color.FromUInt32(0xffffc0cb); }
|
|
}
|
|
|
|
public static Color Plum
|
|
{
|
|
get { return Color.FromUInt32(0xffdda0dd); }
|
|
}
|
|
|
|
public static Color PowderBlue
|
|
{
|
|
get { return Color.FromUInt32(0xffb0e0e6); }
|
|
}
|
|
|
|
public static Color Purple
|
|
{
|
|
get { return Color.FromUInt32(0xff800080); }
|
|
}
|
|
|
|
public static Color Red
|
|
{
|
|
get { return Color.FromUInt32(0xffff0000); }
|
|
}
|
|
|
|
public static Color RosyBrown
|
|
{
|
|
get { return Color.FromUInt32(0xffbc8f8f); }
|
|
}
|
|
|
|
public static Color RoyalBlue
|
|
{
|
|
get { return Color.FromUInt32(0xff4169e1); }
|
|
}
|
|
|
|
public static Color SaddleBrown
|
|
{
|
|
get { return Color.FromUInt32(0xff8b4513); }
|
|
}
|
|
|
|
public static Color Salmon
|
|
{
|
|
get { return Color.FromUInt32(0xfffa8072); }
|
|
}
|
|
|
|
public static Color SandyBrown
|
|
{
|
|
get { return Color.FromUInt32(0xfff4a460); }
|
|
}
|
|
|
|
public static Color SeaGreen
|
|
{
|
|
get { return Color.FromUInt32(0xff2e8b57); }
|
|
}
|
|
|
|
public static Color SeaShell
|
|
{
|
|
get { return Color.FromUInt32(0xfffff5ee); }
|
|
}
|
|
|
|
public static Color Sienna
|
|
{
|
|
get { return Color.FromUInt32(0xffa0522d); }
|
|
}
|
|
|
|
public static Color Silver
|
|
{
|
|
get { return Color.FromUInt32(0xffc0c0c0); }
|
|
}
|
|
|
|
public static Color SkyBlue
|
|
{
|
|
get { return Color.FromUInt32(0xff87ceeb); }
|
|
}
|
|
|
|
public static Color SlateBlue
|
|
{
|
|
get { return Color.FromUInt32(0xff6a5acd); }
|
|
}
|
|
|
|
public static Color SlateGray
|
|
{
|
|
get { return Color.FromUInt32(0xff708090); }
|
|
}
|
|
|
|
public static Color Snow
|
|
{
|
|
get { return Color.FromUInt32(0xfffffafa); }
|
|
}
|
|
|
|
public static Color SpringGreen
|
|
{
|
|
get { return Color.FromUInt32(0xff00ff7f); }
|
|
}
|
|
|
|
public static Color SteelBlue
|
|
{
|
|
get { return Color.FromUInt32(0xff4682b4); }
|
|
}
|
|
|
|
public static Color Tan
|
|
{
|
|
get { return Color.FromUInt32(0xffd2b48c); }
|
|
}
|
|
|
|
public static Color Teal
|
|
{
|
|
get { return Color.FromUInt32(0xff008080); }
|
|
}
|
|
|
|
public static Color Thistle
|
|
{
|
|
get { return Color.FromUInt32(0xffd8bfd8); }
|
|
}
|
|
|
|
public static Color Tomato
|
|
{
|
|
get { return Color.FromUInt32(0xffff6347); }
|
|
}
|
|
|
|
public static Color Transparent
|
|
{
|
|
get { return Color.FromUInt32(0x00ffffff); }
|
|
}
|
|
|
|
public static Color Turquoise
|
|
{
|
|
get { return Color.FromUInt32(0xff40e0d0); }
|
|
}
|
|
|
|
public static Color Violet
|
|
{
|
|
get { return Color.FromUInt32(0xffee82ee); }
|
|
}
|
|
|
|
public static Color Wheat
|
|
{
|
|
get { return Color.FromUInt32(0xfff5deb3); }
|
|
}
|
|
|
|
public static Color White
|
|
{
|
|
get { return Color.FromUInt32(0xffffffff); }
|
|
}
|
|
|
|
public static Color WhiteSmoke
|
|
{
|
|
get { return Color.FromUInt32(0xfff5f5f5); }
|
|
}
|
|
|
|
public static Color Yellow
|
|
{
|
|
get { return Color.FromUInt32(0xffffff00); }
|
|
}
|
|
|
|
public static Color YellowGreen
|
|
{
|
|
get { return Color.FromUInt32(0xff9acd32); }
|
|
}
|
|
}
|
|
}
|