Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public ref class Colors sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class Colors final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class Colors
Public NotInheritable Class Colors
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
The following image shows each predefined color, its name, and its hexadecimal value.
Alice |
Gets the system-defined color that has an ARGB value of #FFF0F8FF. |
Antique |
Gets the system-defined color that has an ARGB value of #FFFAEBD7. |
Aqua |
Gets the system-defined color that has an ARGB value of #FF00FFFF. |
Aquamarine |
Gets the system-defined color that has an ARGB value of #FF7FFFD4. |
Azure |
Gets the system-defined color that has an ARGB value of #FFF0FFFF. |
Beige |
Gets the system-defined color that has an ARGB value of #FFF5F5DC. |
Bisque |
Gets the system-defined color that has an ARGB value of #FFFFE4C4. |
Black |
Gets the system-defined color that has the ARGB value of #FF000000. |
Blanched |
Gets the system-defined color that has an ARGB value of #FFFFEBCD. |
Blue |
Gets the system-defined color that has the ARGB value of #FF0000FF. |
Blue |
Gets the system-defined color that has an ARGB value of #FF8A2BE2. |
Brown |
Gets the system-defined color that has the ARGB value of #FFA52A2A. |
Burly |
Gets the system-defined color that has an ARGB value of #FFDEB887. |
Cadet |
Gets the system-defined color that has an ARGB value of #FF5F9EA0. |
Chartreuse |
Gets the system-defined color that has an ARGB value of #FF7FFF00. |
Chocolate |
Gets the system-defined color that has an ARGB value of #FFD2691E. |
Coral |
Gets the system-defined color that has an ARGB value of #FFFF7F50. |
Cornflower |
Gets the system-defined color that has an ARGB value of #FF6495ED. |
Cornsilk |
Gets the system-defined color that has an ARGB value of #FFFFF8DC. |
Crimson |
Gets the system-defined color that has an ARGB value of #FFDC143C. |
Cyan |
Gets the system-defined color that has the ARGB value of #FF00FFFF. |
Dark |
Gets the system-defined color that has an ARGB value of #FF00008B. |
Dark |
Gets the system-defined color that has an ARGB value of #FF008B8B. |
Dark |
Gets the system-defined color that has an ARGB value of #FFB8860B. |
Dark |
Gets the system-defined color that has the ARGB value of #FFA9A9A9. |
Dark |
Gets the system-defined color that has an ARGB value of #FF006400. |
Dark |
Gets the system-defined color that has an ARGB value of #FFBDB76B. |
Dark |
Gets the system-defined color that has an ARGB value of #FF8B008B. |
Dark |
Gets the system-defined color that has an ARGB value of #FF556B2F. |
Dark |
Gets the system-defined color that has an ARGB value of #FFFF8C00. |
Dark |
Gets the system-defined color that has an ARGB value of #FF9932CC. |
Dark |
Gets the system-defined color that has an ARGB value of #FF8B0000. |
Dark |
Gets the system-defined color that has an ARGB value of #FFE9967A. |
Dark |
Gets the system-defined color that has an ARGB value of #FF8FBC8F. |
Dark |
Gets the system-defined color that has an ARGB value of #FF483D8B. |
Dark |
Gets the system-defined color that has an ARGB value of #FF2F4F4F. |
Dark |
Gets the system-defined color that has an ARGB value of #FF00CED1. |
Dark |
Gets the system-defined color that has an ARGB value of #FF9400D3. |
Deep |
Gets the system-defined color that has an ARGB value of #FFFF1493. |
Deep |
Gets the system-defined color that has an ARGB value of #FF00BFFF. |
Dim |
Gets the system-defined color that has an ARGB value of #FF696969. |
Dodger |
Gets the system-defined color that has an ARGB value of #FF1E90FF. |
Firebrick |
Gets the system-defined color that has an ARGB value of #FFB22222. |
Floral |
Gets the system-defined color that has an ARGB value of #FFFFFAF0. |
Forest |
Gets the system-defined color that has an ARGB value of #FF228B22. |
Fuchsia |
Gets the system-defined color that has an ARGB value of #FFFF00FF. |
Gainsboro |
Gets the system-defined color that has an ARGB value of #FFDCDCDC. |
Ghost |
Gets the system-defined color that has an ARGB value of #FFF8F8FF. |
Gold |
Gets the system-defined color that has an ARGB value of #FFFFD700. |
Goldenrod |
Gets the system-defined color that has an ARGB value of #FFDAA520. |
Gray |
Gets the system-defined color that has the ARGB value of #FF808080. |
Green |
Gets the system-defined color that has the ARGB value of #FF008000. |
Green |
Gets the system-defined color that has an ARGB value of #FFADFF2F. |
Honeydew |
Gets the system-defined color that has an ARGB value of #FFF0FFF0. |
Hot |
Gets the system-defined color that has an ARGB value of #FFFF69B4. |
Indian |
Gets the system-defined color that has an ARGB value of #FFCD5C5C. |
Indigo |
Gets the system-defined color that has an ARGB value of #FF4B0082. |
Ivory |
Gets the system-defined color that has an ARGB value of #FFFFFFF0. |
Khaki |
Gets the system-defined color that has an ARGB value of #FFF0E68C. |
Lavender |
Gets the system-defined color that has an ARGB value of #FFE6E6FA. |
Lavender |
Gets the system-defined color that has an ARGB value of #FFFFF0F5. |
Lawn |
Gets the system-defined color that has an ARGB value of #FF7CFC00. |
Lemon |
Gets the system-defined color that has an ARGB value of #FFFFFACD. |
Light |
Gets the system-defined color that has an ARGB value of #FFADD8E6. |
Light |
Gets the system-defined color that has an ARGB value of #FFF08080. |
Light |
Gets the system-defined color that has an ARGB value of #FFE0FFFF. |
Light |
Gets the system-defined color that has an ARGB value of #FFFAFAD2. |
Light |
Gets the system-defined color that has the ARGB value of #FFD3D3D3. |
Light |
Gets the system-defined color that has an ARGB value of #FF90EE90. |
Light |
Gets the system-defined color that has an ARGB value of #FFFFB6C1. |
Light |
Gets the system-defined color that has an ARGB value of #FFFFA07A. |
Light |
Gets the system-defined color that has an ARGB value of #FF20B2AA. |
Light |
Gets the system-defined color that has an ARGB value of #FF87CEFA. |
Light |
Gets the system-defined color that has an ARGB value of #FF778899. |
Light |
Gets the system-defined color that has an ARGB value of #FFB0C4DE. |
Light |
Gets the system-defined color that has an ARGB value of #FFFFFFE0. |
Lime |
Gets the system-defined color that has an ARGB value of #FF00FF00. |
Lime |
Gets the system-defined color that has an ARGB value of #FF32CD32. |
Linen |
Gets the system-defined color that has an ARGB value of #FFFAF0E6. |
Magenta |
Gets the system-defined color that has the ARGB value of #FFFF00FF. |
Maroon |
Gets the system-defined color that has an ARGB value of #FF800000. |
Medium |
Gets the system-defined color that has an ARGB value of #FF66CDAA. |
Medium |
Gets the system-defined color that has an ARGB value of #FF0000CD. |
Medium |
Gets the system-defined color that has an ARGB value of #FFBA55D3. |
Medium |
Gets the system-defined color that has an ARGB value of #FF9370DB. |
Medium |
Gets the system-defined color that has an ARGB value of #FF3CB371. |
Medium |
Gets the system-defined color that has an ARGB value of #FF7B68EE. |
Medium |
Gets the system-defined color that has an ARGB value of #FF00FA9A. |
Medium |
Gets the system-defined color that has an ARGB value of #FF48D1CC. |
Medium |
Gets the system-defined color that has an ARGB value of #FFC71585. |
Midnight |
Gets the system-defined color that has an ARGB value of #FF191970. |
Mint |
Gets the system-defined color that has an ARGB value of #FFF5FFFA. |
Misty |
Gets the system-defined color that has an ARGB value of #FFFFE4E1. |
Moccasin |
Gets the system-defined color that has an ARGB value of #FFFFE4B5. |
Navajo |
Gets the system-defined color that has an ARGB value of #FFFFDEAD. |
Navy |
Gets the system-defined color that has an ARGB value of #FF000080. |
Old |
Gets the system-defined color that has an ARGB value of #FFFDF5E6. |
Olive |
Gets the system-defined color that has an ARGB value of #FF808000. |
Olive |
Gets the system-defined color that has an ARGB value of #FF6B8E23. |
Orange |
Gets the system-defined color that has the ARGB value of #FFFFA500. |
Orange |
Gets the system-defined color that has an ARGB value of #FFFF4500. |
Orchid |
Gets the system-defined color that has an ARGB value of #FFDA70D6. |
Pale |
Gets the system-defined color that has an ARGB value of #FFEEE8AA. |
Pale |
Gets the system-defined color that has an ARGB value of #FF98FB98. |
Pale |
Gets the system-defined color that has an ARGB value of #FFAFEEEE. |
Pale |
Gets the system-defined color that has an ARGB value of #FFDB7093. |
Papaya |
Gets the system-defined color that has an ARGB value of #FFFFEFD5. |
Peach |
Gets the system-defined color that has an ARGB value of #FFFFDAB9. |
Peru |
Gets the system-defined color that has an ARGB value of #FFCD853F. |
Pink |
Gets the system-defined color that has an ARGB value of #FFFFC0CB. |
Plum |
Gets the system-defined color that has an ARGB value of #FFDDA0DD. |
Powder |
Gets the system-defined color that has an ARGB value of #FFB0E0E6. |
Purple |
Gets the system-defined color that has the ARGB value of #FF800080. |
Red |
Gets the system-defined color that has the ARGB value of #FFFF0000. |
Rosy |
Gets the system-defined color that has an ARGB value of #FFBC8F8F. |
Royal |
Gets the system-defined color that has an ARGB value of #FF4169E1. |
Saddle |
Gets the system-defined color that has an ARGB value of #FF8B4513. |
Salmon |
Gets the system-defined color that has an ARGB value of #FFFA8072. |
Sandy |
Gets the system-defined color that has an ARGB value of #FFF4A460. |
Sea |
Gets the system-defined color that has an ARGB value of #FF2E8B57. |
Sea |
Gets the system-defined color that has an ARGB value of #FFFFF5EE. |
Sienna |
Gets the system-defined color that has an ARGB value of #FFA0522D. |
Silver |
Gets the system-defined color that has an ARGB value of #FFC0C0C0. |
Sky |
Gets the system-defined color that has an ARGB value of #FF87CEEB. |
Slate |
Gets the system-defined color that has an ARGB value of #FF6A5ACD. |
Slate |
Gets the system-defined color that has an ARGB value of #FF708090. |
Snow |
Gets the system-defined color that has an ARGB value of #FFFFFAFA. |
Spring |
Gets the system-defined color that has an ARGB value of #FF00FF7F. |
Steel |
Gets the system-defined color that has an ARGB value of #FF4682B4. |
Tan |
Gets the system-defined color that has an ARGB value of #FFD2B48C. |
Teal |
Gets the system-defined color that has an ARGB value of #FF008080. |
Thistle |
Gets the system-defined color that has an ARGB value of #FFD8BFD8. |
Tomato |
Gets the system-defined color that has an ARGB value of #FFFF6347. |
Transparent |
Gets the system-defined color that has the ARGB value of #00FFFFFF. |
Turquoise |
Gets the system-defined color that has an ARGB value of #FF40E0D0. |
Violet |
Gets the system-defined color that has an ARGB value of #FFEE82EE. |
Wheat |
Gets the system-defined color that has an ARGB value of #FFF5DEB3. |
White |
Gets the system-defined color that has the ARGB value of #FFFFFFFF. |
White |
Gets the system-defined color that has an ARGB value of #FFF5F5F5. |
Yellow |
Gets the system-defined color that has the ARGB value of #FFFFFF00. |
Yellow |
Gets the system-defined color that has an ARGB value of #FF9ACD32. |
Please sign in to use this experience.
Sign in