码迷,mamicode.com
首页 > 其他好文 > 详细

【VC】MSDN System Color 大合集

时间:2014-11-13 12:58:20      阅读:341      评论:0      收藏:0      [点我收藏+]

标签:vc   visual c++   windows   color   


  • Colors by Name
  • Colors by Hue
  • Colors by Lightness
  • Colors by Saturation



    static WCHAR *pColorName[][2] = 
    {
    	{_T("AliceBlue"),_T("#F0F8FF")},
    	{_T("AntiqueWhite"),_T("#FAEBD7")},
    	{_T("Aqua"),_T("#00FFFF")},
    	{_T("Aquamarine"),_T("#7FFFD4")},
    	{_T("Azure"),_T("#F0FFFF")},
    	{_T("Beige"),_T("#F5F5DC")},
    	{_T("Bisque"),_T("#FFE4C4")},
    	{_T("Black"),_T("#000000")},
    	{_T("BlanchedAlmond"),_T("#FFEBCD")},
    	{_T("Blue"),_T("#0000FF")},
    	{_T("BlueViolet"),_T("#8A2BE2")},
    	{_T("Brown"),_T("#A52A2A")},
    	{_T("BurlyWood"),_T("#DEB887")},
    	{_T("CadetBlue"),_T("#5F9EA0")},
    	{_T("Chartreuse"),_T("#7FFF00")},
    	{_T("Chocolate"),_T("#D2691E")},
    	{_T("Coral"),_T("#FF7F50")},
    	{_T("CornflowerBlue"),_T("#6495ED")},
    	{_T("Cornsilk"),_T("#FFF8DC")},
    	{_T("Crimson"),_T("#DC143C")},
    	{_T("Cyan"),_T("#00FFFF")},
    	{_T("DarkBlue"),_T("#00008B")},
    	{_T("DarkCyan"),_T("#008B8B")},
    	{_T("DarkGoldenrod"),_T("#B8860B")},
    	{_T("DarkGray"),_T("#A9A9A9")},
    	{_T("DarkGreen"),_T("#006400")},
    	{_T("DarkKhaki"),_T("#BDB76B")},
    	{_T("DarkMagenta"),_T("#8B008B")},
    	{_T("DarkOliveGreen"),_T("#556B2F")},
    	{_T("DarkOrange"),_T("#FF8C00")},
    	{_T("DarkOrchid"),_T("#9932CC")},
    	{_T("DarkRed"),_T("#8B0000")},
    	{_T("DarkSalmon"),_T("#E9967A")},
    	{_T("DarkSeaGreen"),_T("#8FBC8F")},
    	{_T("DarkSlateBlue"),_T("#483D8B")},
    	{_T("DarkSlateGray"),_T("#2F4F4F")},
    	{_T("DarkTurquoise"),_T("#00CED1")},
    	{_T("DarkViolet"),_T("#9400D3")},
    	{_T("DeepPink"),_T("#FF1493")},
    	{_T("DeepSkyBlue"),_T("#696969")},
    	{_T("DimGray"),_T("#00BFFF")},
    	{_T("DodgerBlue"),_T("#1E90FF")},
    	{_T("FireBrick"),_T("#B22222")},
    	{_T("FloralWhite"),_T("#FFFAF0")},
    	{_T("ForestGreen"),_T("#228B22")},
    	{_T("Fuchsia"),_T("#FF00FF")},
    	{_T("Gainsboro"),_T("#DCDCDC")},
    	{_T("GhostWhite"),_T("#F8F8FF")},
    	{_T("Gold"),_T("#FFD700")},
    	{_T("Goldenrod"),_T("#DAA520")},
    	{_T("Gray"),_T("#808080")},
    	{_T("Green"),_T("#008000")},
    	{_T("GreenYellow"),_T("#ADFF2F")},
    	{_T("Honeydew"),_T("#F0FFF0")},
    	{_T("HotPink"),_T("#FF69B4")},
    	{_T("IndianRed"),_T("#CD5C5C")},
    	{_T("Indigo"),_T("#4B0082")},
    	{_T("Ivory"),_T("#FFFFF0")},
    	{_T("Khaki"),_T("#F0E68C")},
    	{_T("Lavender"),_T("#E6E6FA")},
    	{_T("LavenderBlush"),_T("#FFF0F5")},
    	{_T("LawnGreen"),_T("#7CFC00")},
    	{_T("LemonChiffon"),_T("#FFFACD")},
    	{_T("LightBlue"),_T("#ADD8E6")},
    	{_T("LightCoral"),_T("#F08080")},
    	{_T("LightCyan"),_T("#E0FFFF")},
    	{_T("LightGoldenrodYellow"),_T("#FAFAD2")},
    	{_T("LightGreen"),_T("#90EE90")},
    	{_T("LightGrey"),_T("#D3D3D3")},
    	{_T("LightPink"),_T("#FFB6C1")},
    	{_T("LightSalmon"),_T("#FFA07A")},
    	{_T("LightSeaGreen"),_T("#20B2AA")},
    	{_T("LightSkyBlue"),_T("#87CEFA")},
    	{_T("LightSlateGray"),_T("#778899")},
    	{_T("LightSteelBlue"),_T("#B0C4DE")},
    	{_T("LightYellow"),_T("#FFFFE0")},
    	{_T("Lime"),_T("#00FF00")},
    	{_T("LimeGreen"),_T("#32CD32")},
    	{_T("Linen"),_T("#FAF0E6")},
    	{_T("Magenta"),_T("#FF00FF")},
    	{_T("Maroon"),_T("#800000")},
    	{_T("MediumAquamarine"),_T("#66CDAA")},
    	{_T("MediumBlue"),_T("#0000CD")},
    	{_T("MediumOrchid"),_T("#BA55D3")},
    	{_T("MediumPurple"),_T("#9370DB")},
    	{_T("MediumSeaGreen"),_T("#3CB371")},
    	{_T("MediumSlateBlue"),_T("#7B68EE")},
    	{_T("MediumSpringGreen"),_T("#00FA9A")},
    	{_T("MediumTurquoise"),_T("#48D1CC")},
    	{_T("MediumVioletRed"),_T("#C71585")},
    	{_T("MidnightBlue"),_T("#191970")},
    	{_T("MintCream"),_T("#F5FFFA")},
    	{_T("MistyRose"),_T("#FFE4E1")},
    	{_T("Moccasin"),_T("#FFE4B5")},
    	{_T("NavajoWhite"),_T("#FFDEAD")},
    	{_T("Navy"),_T("#000080")},
    	{_T("OldLace"),_T("#FDF5E6")},
    	{_T("Olive"),_T("#808000")},
    	{_T("OliveDrab"),_T("#6B8E23")},
    	{_T("Orange"),_T("#FFA500")},
    	{_T("OrangeRed"),_T("#FF4500")},
    	{_T("Orchid"),_T("#DA70D6")},
    	{_T("PaleGoldenrod"),_T("#EEE8AA")},
    	{_T("PaleGreen"),_T("#98FB98")},
    	{_T("PaleTurquoise"),_T("#AFEEEE")},
    	{_T("PaleVioletRed"),_T("#DB7093")},
    	{_T("PapayaWhip"),_T("#FFEFD5")},
    	{_T("PeachPuff"),_T("#FFDAB9")},
    	{_T("Peru"),_T("#CD853F")},
    	{_T("Pink"),_T("#FFC0CB")},
    	{_T("Plum"),_T("#DDA0DD")},
    	{_T("PowderBlue"),_T("#B0E0E6")},
    	{_T("Purple"),_T("#800080")},
    	{_T("Red"),_T("#FF0000")},
    	{_T("RosyBrown"),_T("#BC8F8F")},
    	{_T("RoyalBlue"),_T("#4169E1")},
    	{_T("SaddleBrown"),_T("#8B4513")},
    	{_T("Salmon"),_T("#FA8072")},
    	{_T("SandyBrown"),_T("#F4A460")},
    	{_T("SeaGreen"),_T("#2E8B57")},
    	{_T("Seashell"),_T("#FFF5EE")},
    	{_T("Sienna"),_T("#A0522D")},
    	{_T("Silver"),_T("#C0C0C0")},
    	{_T("SkyBlue"),_T("#87CEEB")},
    	{_T("SlateBlue"),_T("#6A5ACD")},
    	{_T("SlateGray"),_T("#708090")},
    	{_T("Snow"),_T("#FFFAFA")},
    	{_T("SpringGreen"),_T("#00FF7F")},
    	{_T("SteelBlue"),_T("#4682B4")},
    	{_T("Tan"),_T("#D2B48C")},
    	{_T("Teal"),_T("#008080")},
    	{_T("Thistle"),_T("#D8BFD8")},
    	{_T("Tomato"),_T("#FF6347")},
    	{_T("Turquoise"),_T("#40E0D0")},
    	{_T("Violet"),_T("#EE82EE")},
    	{_T("Wheat"),_T("#F5DEB3")},
    	{_T("White"),_T("#FFFFFF")},
    	{_T("WhiteSmoke"),_T("#F5F5F5")},
    	{_T("Yellow"),_T("#FFFF00")},
    	{_T("YellowGreen"),_T("#9ACD32")}
    };
    
    static WCHAR *pColorHue[][2] =
    {
    	{_T("LightPink"),_T("#FFB6C1")},
    	{_T("Pink"),_T("#FFC0CB")},
    	{_T("Crimson"),_T("#DC143C")},
    	{_T("LavenderBlush"),_T("#FFF0F5")},
    	{_T("PaleVioletRed"),_T("#DB7093")},
    	{_T("HotPink"),_T("#FF69B4")},
    	{_T("DeepPink"),_T("#FF1493")},
    	{_T("MediumVioletRed"),_T("#C71585")},
    	{_T("Orchid"),_T("#DA70D6")},
    	{_T("Thistle"),_T("#D8BFD8")},
    	{_T("Plum"),_T("#DDA0DD")},
    	{_T("Violet"),_T("#EE82EE")},
    	{_T("Magenta"),_T("#FF00FF")},
    	{_T("Fuchsia"),_T("#FF00FF ")},
    	{_T("DarkMagenta"),_T("#8B008B")},
    	{_T("Purple"),_T("#800080")},
    	{_T("MediumOrchid"),_T("#BA55D3")},
    	{_T("DarkViolet"),_T("#9400D3")},
    	{_T("DarkOrchid"),_T("#9932CC")},
    	{_T("Indigo"),_T("#4B0082")},
    	{_T("BlueViolet"),_T("#8A2BE2")},
    	{_T("MediumPurple"),_T("#9370DB")},
    	{_T("MediumSlateBlue"),_T("#7B68EE")},
    	{_T("SlateBlue"),_T("#6A5ACD")},
    	{_T("DarkSlateBlue"),_T("#483D8B")},
    	{_T("Lavender"),_T("#E6E6FA")},
    	{_T("GhostWhite"),_T("#F8F8FF")},
    	{_T("Blue"),_T("#0000FF")},
    	{_T("MediumBlue"),_T("#0000CD")},
    	{_T("MidnightBlue"),_T("#191970")},
    	{_T("DarkBlue"),_T("#00008B")},
    	{_T("Navy"),_T("#000080")},
    	{_T("RoyalBlue"),_T("#4169E1")},
    	{_T("CornflowerBlue"),_T("#6495ED")},
    	{_T("LightSteelBlue"),_T("#B0C4DE")},
    	{_T("LightSlateGray"),_T("#778899")},
    	{_T("SlateGray"),_T("#708090")},
    	{_T("DodgerBlue"),_T("#1E90FF")},
    	{_T("AliceBlue"),_T("#F0F8FF")},
    	{_T("SteelBlue"),_T("#4682B4")},
    	{_T("LightSkyBlue"),_T("#87CEFA")},
    	{_T("SkyBlue"),_T("#87CEEB")},
    	{_T("DeepSkyBlue"),_T("#00BFFF")},
    	{_T("LightBlue"),_T("#ADD8E6")},
    	{_T("PowderBlue"),_T("#B0E0E6")},
    	{_T("CadetBlue"),_T("#5F9EA0")},
    	{_T("Azure"),_T("#F0FFFF")},
    	{_T("LightCyan"),_T("#E0FFFF")},
    	{_T("PaleTurquoise"),_T("#AFEEEE")},
    	{_T("Cyan"),_T("#00FFFF")},
    	{_T("Aqua"),_T("#00FFFF")},
    	{_T("DarkTurquoise"),_T("#00CED1")},
    	{_T("DarkSlateGray"),_T("#2F4F4F")},
    	{_T("DarkCyan"),_T("#008B8B")},
    	{_T("Teal"),_T("#008080")},
    	{_T("MediumTurquoise"),_T("#48D1CC")},
    	{_T("LightSeaGreen"),_T("#20B2AA")},
    	{_T("Turquoise"),_T("#40E0D0")},
    	{_T("Aquamarine"),_T("#7FFFD4")},
    	{_T("MediumAquamarine"),_T("#66CDAA")},
    	{_T("MediumSpringGreen"),_T("#00FA9A")},
    	{_T("MintCream"),_T("#F5FFFA")},
    	{_T("SpringGreen"),_T("#00FF7F")},
    	{_T("MediumSeaGreen"),_T("#3CB371")},
    	{_T("SeaGreen"),_T("#2E8B57")},
    	{_T("Honeydew"),_T("#F0FFF0")},
    	{_T("LightGreen"),_T("#90EE90")},
    	{_T("PaleGreen"),_T("#98FB98")},
    	{_T("DarkSeaGreen"),_T("#8FBC8F")},
    	{_T("LimeGreen"),_T("#32CD32")},
    	{_T("Lime"),_T("#00FF00")},
    	{_T("ForestGreen"),_T("#228B22")},
    	{_T("Green"),_T("#008000")},
    	{_T("DarkGreen"),_T("#006400")},
    	{_T("Chartreuse"),_T("#7FFF00")},
    	{_T("LawnGreen"),_T("#7CFC00")},
    	{_T("GreenYellow"),_T("#ADFF2F")},
    	{_T("DarkOliveGreen"),_T("#556B2F")},
    	{_T("YellowGreen"),_T("#9ACD32")},
    	{_T("OliveDrab"),_T("#6B8E23")},
    	{_T("Beige"),_T("#F5F5DC")},
    	{_T("LightGoldenrodYellow"),_T("#FAFAD2")},
    	{_T("Ivory"),_T("#FFFFF0")},
    	{_T("LightYellow"),_T("#FFFFE0")},
    	{_T("Yellow"),_T("#FFFF00")},
    	{_T("Olive"),_T("#808000")},
    	{_T("DarkKhaki"),_T("#BDB76B")},
    	{_T("LemonChiffon"),_T("#FFFACD")},
    	{_T("PaleGoldenrod"),_T("#EEE8AA")},
    	{_T("Khaki"),_T("#F0E68C")},
    	{_T("Gold"),_T("#FFD700")},
    	{_T("Cornsilk"),_T("#FFF8DC")},
    	{_T("Goldenrod"),_T("#DAA520")},
    	{_T("DarkGoldenrod"),_T("#B8860B")},
    	{_T("FloralWhite"),_T("#FFFAF0")},
    	{_T("OldLace"),_T("#FDF5E6")},
    	{_T("Wheat"),_T("#F5DEB3")},
    	{_T("Moccasin"),_T("#FFE4B5")},
    	{_T("Orange"),_T("#FFA500")},
    	{_T("PapayaWhip"),_T("#FFEFD5")},
    	{_T("BlanchedAlmond"),_T("#FFEBCD")},
    	{_T("NavajoWhite"),_T("#FFDEAD")},
    	{_T("AntiqueWhite"),_T("#FAEBD7")},
    	{_T("Tan"),_T("#D2B48C")},
    	{_T("BurlyWood"),_T("#DEB887")},
    	{_T("Bisque"),_T("#FFE4C4")},
    	{_T("DarkOrange"),_T("#FF8C00")},
    	{_T("Linen"),_T("#FAF0E6")},
    	{_T("Peru"),_T("#CD853F")},
    	{_T("PeachPuff"),_T("#FFDAB9")},
    	{_T("SandyBrown"),_T("#F4A460")},
    	{_T("Chocolate"),_T("#D2691E")},
    	{_T("SaddleBrown"),_T("#8B4513")},
    	{_T("Seashell"),_T("#FFF5EE")},
    	{_T("Sienna"),_T("#A0522D")},
    	{_T("LightSalmon"),_T("#FFA07A")},
    	{_T("Coral"),_T("#FF7F50")},
    	{_T("OrangeRed"),_T("#FF4500")},
    	{_T("DarkSalmon"),_T("#E9967A")},
    	{_T("Tomato"),_T("#FF6347")},
    	{_T("MistyRose"),_T("#FFE4E1")},
    	{_T("Salmon"),_T("#FA8072")},
    	{_T("Snow"),_T("#FFFAFA")},
    	{_T("LightCoral"),_T("#F08080")},
    	{_T("RosyBrown"),_T("#BC8F8F")},
    	{_T("IndianRed"),_T("#CD5C5C")},
    	{_T("Red"),_T("#FF0000")},
    	{_T("Brown"),_T("#A52A2A")},
    	{_T("FireBrick"),_T("#B22222")},
    	{_T("DarkRed"),_T("#8B0000")},
    	{_T("Maroon"),_T("#800000")},
    	{_T("White"),_T("#FFFFFF")},
    	{_T("WhiteSmoke"),_T("#F5F5F5")},
    	{_T("Gainsboro"),_T("#DCDCDC")},
    	{_T("LightGrey"),_T("#D3D3D3")},
    	{_T("Silver"),_T("#C0C0C0")},
    	{_T("DarkGray"),_T("#A9A9A9")},
    	{_T("Gray"),_T("#808080")},
    	{_T("DimGray"),_T("#696969")},
    	{_T("Black"),_T("#000000")}
    };
    
    static WCHAR *pColorSaturation[][2] =
    {
    	{_T("Snow"),_T("#FFFAFA")},
    	{_T("MistyRose"),_T("#FFE4E1")},
    	{_T("Seashell"),_T("#FFF5EE")},
    	{_T("BlanchedAlmond"),_T("#FFEBCD")},
    	{_T("PapayaWhip"),_T("#FFEFD5")},
    	{_T("FloralWhite"),_T("#FFFAF0")},
    	{_T("Cornsilk"),_T("#FFF8DC")},
    	{_T("LemonChiffon"),_T("#FFFACD")},
    	{_T("Ivory"),_T("#FFFFF0")},
    	{_T("LightYellow"),_T("#FFFFE0")},
    	{_T("Honeydew"),_T("#F0FFF0")},
    	{_T("MintCream"),_T("#F5FFFA")},
    	{_T("Azure"),_T("#F0FFFF")},
    	{_T("LightCyan"),_T("#E0FFFF")},
    	{_T("AliceBlue"),_T("#F0F8FF")},
    	{_T("GhostWhite"),_T("#F8F8FF")},
    	{_T("LavenderBlush"),_T("#FFF0F5")},
    	{_T("PeachPuff"),_T("#FFDAB9")},
    	{_T("Bisque"),_T("#FFE4C4")},
    	{_T("NavajoWhite"),_T("#FFDEAD")},
    	{_T("Moccasin"),_T("#FFE4B5")},
    	{_T("Pink"),_T("#FFC0CB")},
    	{_T("LightPink"),_T("#FFB6C1")},
    	{_T("LightSalmon"),_T("#FFA07A")},
    	{_T("Aquamarine"),_T("#7FFFD4")},
    	{_T("HotPink"),_T("#FF69B4")},
    	{_T("Tomato"),_T("#FF6347")},
    	{_T("Coral"),_T("#FF7F50")},
    	{_T("Red"),_T("#FF0000")},
    	{_T("OrangeRed"),_T("#FF4500")},
    	{_T("DarkOrange"),_T("?#FF8C00")},
    	{_T("Orange"),_T("#FFA500")},
    	{_T("Gold"),_T("#FFD700")},
    	{_T("Yellow"),_T("#FFFF00")},
    	{_T("GreenYellow"),_T("#ADFF2F")},
    	{_T("Chartreuse"),_T("#7FFF00")},
    	{_T("Lime"),_T("#00FF00")},
    	{_T("SpringGreen"),_T("#00FF7F")},
    	{_T("Cyan"),_T("#00FFFF")},
    	{_T("Aqua"),_T("#00FFFF")},
    	{_T("DeepSkyBlue"),_T("#00BFFF")},
    	{_T("DodgerBlue"),_T("#1E90FF")},
    	{_T("Blue"),_T("#0000FF")},
    	{_T("Magenta"),_T("#FF00FF")},
    	{_T("Fuchsia"),_T("#FF00FF")},
    	{_T("DeepPink"),_T("#FF1493")},
    	{_T("LawnGreen"),_T("#7CFC00")},
    	{_T("MediumSpringGreen"),_T("#00FA9A")},
    	{_T("DarkTurquoise"),_T("#00CED1")},
    	{_T("MediumBlue"),_T("#0000CD")},
    	{_T("DarkViolet"),_T("#9400D3")},
    	{_T("DarkRed"),_T("#8B0000")},
    	{_T("Maroon"),_T("#800000")},
    	{_T("Olive"),_T("#808000")},
    	{_T("Green"),_T("#008000")},
    	{_T("DarkCyan"),_T("#008B8B")},
    	{_T("Teal"),_T("#008080")},
    	{_T("DarkBlue"),_T("#00008B")},
    	{_T("Navy"),_T("#000080")},
    	{_T("Indigo"),_T("#4B0082")},
    	{_T("DarkMagenta"),_T("#8B008B")},
    	{_T("Purple"),_T("#800080")},
    	{_T("DarkGreen"),_T("#006400")},
    	{_T("Salmon"),_T("#FA8072")},
    	{_T("PaleGreen"),_T("#98FB98")},
    	{_T("LightSkyBlue"),_T("#87CEFA")},
    	{_T("OldLace"),_T("#FDF5E6")},
    	{_T("LightGoldenrodYellow"),_T("#FAFAD2")},
    	{_T("SandyBrown"),_T("#F4A460")},
    	{_T("MediumVioletRed"),_T("#C71585")},
    	{_T("Crimson"),_T("#DC143C")},
    	{_T("DarkGoldenrod"),_T("#B8860B")},
    	{_T("AntiqueWhite"),_T("#FAEBD7")},
    	{_T("Wheat"),_T("#F5DEB3")},
    	{_T("LightCoral"),_T("#F08080")},
    	{_T("Khaki"),_T("#F0E68C")},
    	{_T("LightGreen"),_T("#90EE90")},
    	{_T("SkyBlue"),_T("#87CEEB")},
    	{_T("Violet"),_T("#EE82EE")},
    	{_T("DarkSalmon"),_T("#E9967A")},
    	{_T("CornflowerBlue"),_T("#6495ED")},
    	{_T("MediumSlateBlue"),_T("#7B68EE")},
    	{_T("Turquoise"),_T("#40E0D0")},
    	{_T("RoyalBlue"),_T("#4169E1")},
    	{_T("BlueViolet"),_T("#8A2BE2")},
    	{_T("Chocolate"),_T("#D2691E")},
    	{_T("Goldenrod"),_T("#DAA520")},
    	{_T("SaddleBrown"),_T("#8B4513")},
    	{_T("Linen"),_T("#FAF0E6")},
    	{_T("Lavender"),_T("#E6E6FA")},
    	{_T("PaleGoldenrod"),_T("#EEE8AA")},
    	{_T("PaleTurquoise"),_T("#AFEEEE")},
    	{_T("YellowGreen"),_T("#9ACD32")},
    	{_T("LimeGreen"),_T("#32CD32")},
    	{_T("FireBrick"),_T("#B22222")},
    	{_T("LightSeaGreen"),_T("#20B2AA")},
    	{_T("DarkOrchid"),_T("#9932CC")},
    	{_T("OliveDrab"),_T("#6B8E23")},
    	{_T("ForestGreen"),_T("#228B22")},
    	{_T("MidnightBlue"),_T("#191970")},
    	{_T("Beige"),_T("#F5F5DC")},
    	{_T("BurlyWood"),_T("#DEB887")},
    	{_T("PowderBlue"),_T("#B0E0E6")},
    	{_T("LightBlue"),_T("#ADD8E6")},
    	{_T("MediumAquamarine"),_T("#66CDAA")},
    	{_T("MediumPurple"),_T("#9370DB")},
    	{_T("Orchid"),_T("#DA70D6")},
    	{_T("PaleVioletRed"),_T("#DB7093")},
    	{_T("IndianRed"),_T("#CD5C5C")},
    	{_T("Peru"),_T("#CD853F")},
    	{_T("MediumTurquoise"),_T("#48D1CC")},
    	{_T("SlateBlue"),_T("#6A5ACD")},
    	{_T("MediumOrchid"),_T("#BA55D3")},
    	{_T("Brown"),_T("#A52A2A")},
    	{_T("Sienna"),_T("#A0522D")},
    	{_T("SeaGreen"),_T("#2E8B57")},
    	{_T("LightSteelBlue"),_T("#B0C4DE")},
    	{_T("Plum"),_T("#DDA0DD")},
    	{_T("Tan"),_T("#D2B48C")},
    	{_T("MediumSeaGreen"),_T("#3CB371")},
    	{_T("SteelBlue"),_T("#4682B4")},
    	{_T("DarkKhaki"),_T("#BDB76B")},
    	{_T("DarkOliveGreen"),_T("#556B2F")},
    	{_T("DarkSlateBlue"),_T("#483D8B")},
    	{_T("Thistle"),_T("#D8BFD8")},
    	{_T("RosyBrown"),_T("#BC8F8F")},
    	{_T("DarkSeaGreen"),_T("#8FBC8F")},
    	{_T("CadetBlue"),_T("#5F9EA0")},
    	{_T("DarkSlateGray"),_T("#2F4F4F")},
    	{_T("LightSlateGray"),_T("#778899")},
    	{_T("SlateGray"),_T("#708090")},
    	{_T("White"),_T("#FFFFFF")},
    	{_T("WhiteSmoke"),_T("#F5F5F5")},
    	{_T("Gainsboro"),_T("#DCDCDC")},
    	{_T("LightGrey"),_T("#D3D3D3")},
    	{_T("Silver"),_T("#C0C0C0")},
    	{_T("DarkGray"),_T("#A9A9A9")},
    	{_T("Gray"),_T("#808080")},
    	{_T("DimGray"),_T("#696969")},
    	{_T("Black"),_T("#000000")}	
    };
    
    static WCHAR *pColorLightness[][2] =
    {
    	{_T("White"),_T("?#FFFFFF")},
    	{_T("WhiteSmoke"),_T("#F5F5F5")},
    	{_T("Snow"),_T("#FFFAFA")},
    	{_T("MistyRose"),_T("#FFE4E1")},
    	{_T("Seashell"),_T("#FFF5EE")},
    	{_T("Linen"),_T("#FAF0E6")},
    	{_T("AntiqueWhite"),_T("#FAEBD7")},
    	{_T("BlanchedAlmond"),_T("#FFEBCD")},
    	{_T("PapayaWhip"),_T("#FFEFD5")},
    	{_T("OldLace"),_T("#FDF5E6")},
    	{_T("FloralWhite"),_T("#FFFAF0")},
    	{_T("Cornsilk"),_T("#FFF8DC")},
    	{_T("LemonChiffon"),_T("#FFFACD")},
    	{_T("Beige"),_T("#F5F5DC")},
    	{_T("LightGoldenrodYellow"),_T("#FAFAD2")},
    	{_T("Ivory"),_T("#FFFFF0")},
    	{_T("LightYellow"),_T("#FFFFE0")},
    	{_T("Honeydew"),_T("#F0FFF0")},
    	{_T("MintCream"),_T("#F5FFFA")},
    	{_T("Azure"),_T("#F0FFFF")},
    	{_T("LightCyan"),_T("#E0FFFF")},
    	{_T("AliceBlue"),_T("#F0F8FF")},
    	{_T("Lavender"),_T("#E6E6FA")},
    	{_T("GhostWhite"),_T("#F8F8FF")},
    	{_T("LavenderBlush"),_T("#FFF0F5")},
    	{_T("Gainsboro"),_T("#DCDCDC")},
    	{_T("LightGrey"),_T("#D3D3D3")},
    	{_T("PeachPuff"),_T("#FFDAB9")},
    	{_T("Bisque"),_T("#FFE4C4")},
    	{_T("NavajoWhite"),_T("#FFDEAD")},
    	{_T("Moccasin"),_T("#FFE4B5")},
    	{_T("Wheat"),_T("#F5DEB3")},
    	{_T("PaleGoldenrod"),_T("#EEE8AA")},
    	{_T("PaleTurquoise"),_T("#AFEEEE")},
    	{_T("Pink"),_T("#FFC0CB")},
    	{_T("LightPink"),_T("#FFB6C1")},
    	{_T("Silver"),_T("#C0C0C0")},
    	{_T("LightCoral"),_T("#F08080")},
    	{_T("Salmon"),_T("#FA8072")},
    	{_T("LightSalmon"),_T("#FFA07A")},
    	{_T("BurlyWood"),_T("#DEB887")},
    	{_T("Khaki"),_T("#F0E68C")},
    	{_T("LightGreen"),_T("#90EE90")},
    	{_T("PaleGreen"),_T("#98FB98")},
    	{_T("Aquamarine"),_T("#7FFFD4")},
    	{_T("PowderBlue"),_T("#B0E0E6")},
    	{_T("LightBlue"),_T("#ADD8E6")},
    	{_T("SkyBlue"),_T("#87CEEB")},
    	{_T("LightSkyBlue"),_T("#87CEFA")},
    	{_T("LightSteelBlue"),_T("#B0C4DE")},
    	{_T("Thistle"),_T("#D8BFD8")},
    	{_T("Plum"),_T("#DDA0DD")},
    	{_T("Violet"),_T("#EE82EE")},
    	{_T("HotPink"),_T("#FF69B4")},
    	{_T("DarkGray"),_T("#A9A9A9")},
    	{_T("RosyBrown"),_T("#BC8F8F")},
    	{_T("Tomato"),_T("#FF6347")},
    	{_T("DarkSalmon"),_T("#E9967A")},
    	{_T("Coral"),_T("#FF7F50")},
    	{_T("SandyBrown"),_T("#F4A460")},
    	{_T("Tan"),_T("#D2B48C")},
    	{_T("DarkSeaGreen"),_T("#8FBC8F")},
    	{_T("MediumAquamarine"),_T("#66CDAA")},
    	{_T("CornflowerBlue"),_T("#6495ED")},
    	{_T("MediumSlateBlue"),_T("#7B68EE")},
    	{_T("MediumPurple"),_T("#9370DB")},
    	{_T("Orchid"),_T("#DA70D6")},
    	{_T("PaleVioletRed"),_T("#DB7093")},
    	{_T("Gray"),_T("#808080")},
    	{_T("IndianRed"),_T("#CD5C5C")},
    	{_T("Red"),_T("#FF0000")},
    	{_T("OrangeRed"),_T("#FF4500")},
    	{_T("Peru"),_T("#CD853F")},
    	{_T("DarkOrange"),_T("#FF8C00")},
    	{_T("Orange"),_T("#FFA500")},
    	{_T("Gold"),_T("#FFD700")},
    	{_T("DarkKhaki"),_T("#BDB76B")},
    	{_T("Yellow"),_T("#FFFF00")},
    	{_T("YellowGreen"),_T("#9ACD32")},
    	{_T("GreenYellow"),_T("#ADFF2F")},
    	{_T("Chartreuse"),_T("#7FFF00")},
    	{_T("LimeGreen"),_T("#32CD32")},
    	{_T("Lime"),_T("#00FF00")},
    	{_T("SpringGreen"),_T("#00FF7F")},
    	{_T("Turquoise"),_T("#40E0D0")},
    	{_T("MediumTurquoise"),_T("#48D1CC")},
    	{_T("Cyan"),_T("#00FFFF")},
    	{_T("Aqua"),_T("#00FFFF")},
    	{_T("CadetBlue"),_T("#5F9EA0")},
    	{_T("DeepSkyBlue"),_T("#00BFFF")},
    	{_T("DodgerBlue"),_T("#1E90FF")},
    	{_T("LightSlateGray"),_T("#778899")},
    	{_T("SlateGray"),_T("#708090")},
    	{_T("RoyalBlue"),_T("#4169E1")},
    	{_T("Blue"),_T("#0000FF")},
    	{_T("SlateBlue"),_T("#6A5ACD")},
    	{_T("BlueViolet"),_T("#8A2BE2")},
    	{_T("MediumOrchid"),_T("#BA55D3")},
    	{_T("Magenta"),_T("#FF00FF")},
    	{_T("Fuchsia"),_T("#FF00FF")},
    	{_T("DeepPink"),_T("#FF1493")},
    	{_T("DimGray"),_T("#696969")},
    	{_T("Brown"),_T("#A52A2A")},
    	{_T("FireBrick"),_T("#B22222")},
    	{_T("Sienna"),_T("#A0522D")},
    	{_T("Chocolate"),_T("#D2691E")},
    	{_T("Goldenrod"),_T("#DAA520")},
    	{_T("LawnGreen"),_T("#7CFC00")},
    	{_T("MediumSeaGreen"),_T("#3CB371")},
    	{_T("MediumSpringGreen"),_T("#00FA9A")},
    	{_T("LightSeaGreen"),_T("#20B2AA")},
    	{_T("DarkTurquoise"),_T("#00CED1")},
    	{_T("SteelBlue"),_T("#4682B4")},
    	{_T("MediumBlue"),_T("#0000CD")},
    	{_T("DarkOrchid"),_T("#9932CC")},
    	{_T("DarkViolet"),_T("#9400D3")},
    	{_T("MediumVioletRed"),_T("#C71585")},
    	{_T("Crimson"),_T("#DC143C")},
    	{_T("SaddleBrown"),_T("#8B4513")},
    	{_T("DarkGoldenrod"),_T("#B8860B")},
    	{_T("OliveDrab"),_T("#6B8E23")},
    	{_T("DarkOliveGreen"),_T("#556B2F")},
    	{_T("ForestGreen"),_T("#228B22")},
    	{_T("SeaGreen"),_T("#2E8B57")},
    	{_T("DarkSlateBlue"),_T("#483D8B")},
    	{_T("DarkRed"),_T("#8B0000")},
    	{_T("Maroon"),_T("#800000")},
    	{_T("Olive"),_T("#808000")},
    	{_T("Green"),_T("#008000")},
    	{_T("DarkSlateGray"),_T("#2F4F4F")},
    	{_T("DarkCyan"),_T("#008B8B")},
    	{_T("Teal"),_T("#008080")},
    	{_T("MidnightBlue"),_T("#191970")},
    	{_T("DarkBlue"),_T("#00008B")},
    	{_T("Navy"),_T("#000080")},
    	{_T("Indigo"),_T("#4B0082")},
    	{_T("DarkMagenta"),_T("#8B008B")},
    	{_T("Purple"),_T("#800080")},
    	{_T("DarkGreen"),_T("#006400")},
    	{_T("Black"),_T("#000000")}
    };
    


    
  • 【VC】MSDN System Color 大合集

    标签:vc   visual c++   windows   color   

    原文地址:http://blog.csdn.net/shen_001/article/details/41076377

    (0)
    (0)
       
    举报
    评论 一句话评论(0
    登录后才能评论!
    © 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
    迷上了代码!