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