colors

Section: Tk Built-In Commands (n)
Updated: 8.3
Page Index



 

NAME

colors - symbolic color names recognized by Tk



 

DESCRIPTION

Tk recognizes many symbolic color names (e.g., red) when specifying colors. The symbolic names recognized by Tk and their 8-bit-per-channel RGB values are:



Name   Red GreenBlue
alice blue 240248 255
AliceBlue 240248 255
antique white250235 215
AntiqueWhite250235 215
AntiqueWhite1255239 219
AntiqueWhite2238223 204
AntiqueWhite3205192 176
AntiqueWhite4139131 120
agua   0  255255
aquamarine 127255 212
aquamarine1127255 212
aquamarine2118238 198
aquamarine3102205 170
aquamarine469139 116
azure  240 255 255
azure1 240 255 255
azure2 224 238 238
azure3 193 205 205
azure4 131 139 139
beige  245 245 220
bisque 255 228 196
bisque1   255228 196
bisque2   238213 183
bisque3   205183 158
bisque4   139125 107
black  0  0 0
blanched almond255235 205
BlanchedAlmond255235 205
blue   0  0 255
blue violet13843 226
blue1  0  0 255
blue2  0  0 238
blue3  0  0 205
blue4  0  0 139
BlueViolet 13843 226
brown  165 42 42
brown1 255 64 64
brown2 238 59 59
brown3 205 51 51
brown4 139 35 35
burlywood 222184 135
burlywood1 255211 155
burlywood2 238197 145
burlywood3 205170 125
burlywood4 139115 85
cadet blue 95158 160
CadetBlue 95158 160
CadetBlue1 152245 255
CadetBlue2 142229 238
CadetBlue3 122197 205
CadetBlue4 83134 139
chartreuse 127255 0
chartreuse1127255 0
chartreuse2118238 0
chartreuse3102205 0
chartreuse469139 0
chocolate 210105 30
chocolate1 255127 36
chocolate2 238118 33
chocolate3 205102 29
chocolate4 13969 19
coral  255 127 80
coral1 255 114 86
coral2 238 106 80
coral3 205 91 69
coral4 139 62 47
cornflower blue100149 237
CornflowerBlue100149 237
cornsilk  255248 220
cornsilk1 255248 220
cornsilk2 238232 205
cornsilk3 205200 177
cornsilk4 139136 120
crymson   2202060
cyan   0  255 255
cyan1  0  255 255
cyan2  0  238 238
cyan3  0  205 205
cyan4  0  139 139
dark blue 00 139
dark cyan 0139 139
dark goldenrod184134 11
dark gray 169169 169
dark green 0100 0
dark grey 169169 169
dark khaki 189183 107
dark magenta1390 139
dark olive green85107 47
dark orange255140 0
dark orchid15350 204
dark red  1390 0
dark salmon233150 122
dark sea green143188 143
dark slate blue7261 139
dark slate gray4779 79
dark slate grey4779 79
dark turquoise0206 209
dark violet1480 211
DarkBlue  00 139
DarkCyan  0139 139
DarkGoldenrod184134 11
DarkGoldenrod1255185 15
DarkGoldenrod2238173 14
DarkGoldenrod3205149 12
DarkGoldenrod4139101 8
DarkGray  169169 169
DarkGreen 0100 0
DarkGrey  169169 169
DarkKhaki 189183 107
DarkMagenta1390 139
DarkOliveGreen85107 47
DarkOliveGreen1202255 112
DarkOliveGreen2188238 104
DarkOliveGreen3162205 90
DarkOliveGreen4110139 61
DarkOrange 255140 0
DarkOrange1255127 0
DarkOrange2238118 0
DarkOrange3205102 0
DarkOrange413969 0
DarkOrchid 15350 204
DarkOrchid119162 255
DarkOrchid217858 238
DarkOrchid315450 205
DarkOrchid410434 139
DarkRed   1390 0
DarkSalmon 233150 122
DarkSeaGreen143188 143
DarkSeaGreen1193255 193
DarkSeaGreen2180238 180
DarkSeaGreen3155205 155
DarkSeaGreen4105139 105
DarkSlateBlue7261 139
DarkSlateGray4779 79
DarkSlateGray1151255 255
DarkSlateGray2141238 238
DarkSlateGray3121205 205
DarkSlateGray482139 139
DarkSlateGrey4779 79
DarkTurquoise0206 209
DarkViolet 1480 211
deep pink 25520 147
deep sky blue0191 255
DeepPink  25520 147
DeepPink1 25520 147
DeepPink2 23818 137
DeepPink3 20516 118
DeepPink4 13910 80
DeepSkyBlue0191 255
DeepSkyBlue10191 255
DeepSkyBlue20178 238
DeepSkyBlue30154 205
DeepSkyBlue40104 139
dim gray  105105 105
dim grey  105105 105
DimGray   105105 105
DimGrey   105105 105
dodger blue30144 255
DodgerBlue 30144 255
DodgerBlue130144 255
DodgerBlue228134 238
DodgerBlue324116 205
DodgerBlue41678 139
firebrick 17834 34
firebrick1 25548 48
firebrick2 23844 44
firebrick3 20538 38
firebrick4 13926 26
floral white255250 240
FloralWhite255250 240
forest green34139 34
ForestGreen34139 34
fuchsia   2550255
gainsboro 220220 220
ghost white248248 255
GhostWhite 248248 255
gold   255 215 0
gold1  255 215 0
gold2  238 201 0
gold3  205 173 0
gold4  139 117 0
goldenrod 218165 32
goldenrod1 255193 37
goldenrod2 238180 34
goldenrod3 205155 29
goldenrod4 139105 20
gray   128 128128
gray0  0  0 0
gray1  3  3 3
gray2  5  5 5
gray3  8  8 8
gray4  10 10 10
gray5  13 13 13
gray6  15 15 15
gray7  18 18 18
gray8  20 20 20
gray9  23 23 23
gray10 26 26 26
gray11 28 28 28
gray12 31 31 31
gray13 33 33 33
gray14 36 36 36
gray15 38 38 38
gray16 41 41 41
gray17 43 43 43
gray18 46 46 46
gray19 48 48 48
gray20 51 51 51
gray21 54 54 54
gray22 56 56 56
gray23 59 59 59
gray24 61 61 61
gray25 64 64 64
gray26 66 66 66
gray27 69 69 69
gray28 71 71 71
gray29 74 74 74
gray30 77 77 77
gray31 79 79 79
gray32 82 82 82
gray33 84 84 84
gray34 87 87 87
gray35 89 89 89
gray36 92 92 92
gray37 94 94 94
gray38 97 97 97
gray39 99 99 99
gray40 102 102 102
gray41 105 105 105
gray42 107 107 107
gray43 110 110 110
gray44 112 112 112
gray45 115 115 115
gray46 117 117 117
gray47 120 120 120
gray48 122 122 122
gray49 125 125 125
gray50 127 127 127
gray51 130 130 130
gray52 133 133 133
gray53 135 135 135
gray54 138 138 138
gray55 140 140 140
gray56 143 143 143
gray57 145 145 145
gray58 148 148 148
gray59 150 150 150
gray60 153 153 153
gray61 156 156 156
gray62 158 158 158
gray63 161 161 161
gray64 163 163 163
gray65 166 166 166
gray66 168 168 168
gray67 171 171 171
gray68 173 173 173
gray69 176 176 176
gray70 179 179 179
gray71 181 181 181
gray72 184 184 184
gray73 186 186 186
gray74 189 189 189
gray75 191 191 191
gray76 194 194 194
gray77 196 196 196
gray78 199 199 199
gray79 201 201 201
gray80 204 204 204
gray81 207 207 207
gray82 209 209 209
gray83 212 212 212
gray84 214 214 214
gray85 217 217 217
gray86 219 219 219
gray87 222 222 222
gray88 224 224 224
gray89 227 227 227
gray90 229 229 229
gray91 232 232 232
gray92 235 235 235
gray93 237 237 237
gray94 240 240 240
gray95 242 242 242
gray96 245 245 245
gray97 247 247 247
gray98 250 250 250
gray99 252 252 252
gray100   255255 255
green  0  128 0
green yellow173255 47
green1 0  255 0
green2 0  238 0
green3 0  205 0
green4 0  139 0
GreenYellow173255 47
grey   128 128128
grey0  0  0 0
grey1  3  3 3
grey2  5  5 5
grey3  8  8 8
grey4  10 10 10
grey5  13 13 13
grey6  15 15 15
grey7  18 18 18
grey8  20 20 20
grey9  23 23 23
grey10 26 26 26
grey11 28 28 28
grey12 31 31 31
grey13 33 33 33
grey14 36 36 36
grey15 38 38 38
grey16 41 41 41
grey17 43 43 43
grey18 46 46 46
grey19 48 48 48
grey20 51 51 51
grey21 54 54 54
grey22 56 56 56
grey23 59 59 59
grey24 61 61 61
grey25 64 64 64
grey26 66 66 66
grey27 69 69 69
grey28 71 71 71
grey29 74 74 74
grey30 77 77 77
grey31 79 79 79
grey32 82 82 82
grey33 84 84 84
grey34 87 87 87
grey35 89 89 89
grey36 92 92 92
grey37 94 94 94
grey38 97 97 97
grey39 99 99 99
grey40 102 102 102
grey41 105 105 105
grey42 107 107 107
grey43 110 110 110
grey44 112 112 112
grey45 115 115 115
grey46 117 117 117
grey47 120 120 120
grey48 122 122 122
grey49 125 125 125
grey50 127 127 127
grey51 130 130 130
grey52 133 133 133
grey53 135 135 135
grey54 138 138 138
grey55 140 140 140
grey56 143 143 143
grey57 145 145 145
grey58 148 148 148
grey59 150 150 150
grey60 153 153 153
grey61 156 156 156
grey62 158 158 158
grey63 161 161 161
grey64 163 163 163
grey65 166 166 166
grey66 168 168 168
grey67 171 171 171
grey68 173 173 173
grey69 176 176 176
grey70 179 179 179
grey71 181 181 181
grey72 184 184 184
grey73 186 186 186
grey74 189 189 189
grey75 191 191 191
grey76 194 194 194
grey77 196 196 196
grey78 199 199 199
grey79 201 201 201
grey80 204 204 204
grey81 207 207 207
grey82 209 209 209
grey83 212 212 212
grey84 214 214 214
grey85 217 217 217
grey86 219 219 219
grey87 222 222 222
grey88 224 224 224
grey89 227 227 227
grey90 229 229 229
grey91 232 232 232
grey92 235 235 235
grey93 237 237 237
grey94 240 240 240
grey95 242 242 242
grey96 245 245 245
grey97 247 247 247
grey98 250 250 250
grey99 252 252 252
grey100   255255 255
honeydew  240255 240
honeydew1 240255 240
honeydew2 224238 224
honeydew3 193205 193
honeydew4 131139 131
hot pink  255105 180
HotPink   255105 180
HotPink1  255110 180
HotPink2  238106 167
HotPink3  20596 144
HotPink4  13958 98
indian red 20592 92
IndianRed 20592 92
IndianRed1 255106 106
IndianRed2 23899 99
IndianRed3 20585 85
IndianRed4 13958 58
indigo 75 0130
ivory  255 255 240
ivory1 255 255 240
ivory2 238 238 224
ivory3 205 205 193
ivory4 139 139 131
khaki  240 230 140
khaki1 255 246 143
khaki2 238 230 133
khaki3 205 198 115
khaki4 139 134 78
lavender  230230 250
lavender blush255240 245
LavenderBlush255240 245
LavenderBlush1255240 245
LavenderBlush2238224 229
LavenderBlush3205193 197
LavenderBlush4139131 134
lawn green 124252 0
LawnGreen 124252 0
lemon chiffon255250 205
LemonChiffon255250 205
LemonChiffon1255250 205
LemonChiffon2238233 191
LemonChiffon3205201 165
LemonChiffon4139137 112
light blue 173216 230
light coral240128 128
light cyan 224255 255
light goldenrod238221 130
light goldenrod yellow250250 210
light gray 211211 211
light green144238 144
light grey 211211 211
light pink 255182 193
light salmon255160 122
light sea green32178 170
light sky blue135206 250
light slate blue132112 255
light slate gray119136 153
light slate grey119136 153
light steel blue176196 222
light yellow255255 224
LightBlue 173216 230
LightBlue1 191239 255
LightBlue2 178223 238
LightBlue3 154192 205
LightBlue4 104131 139
LightCoral 240128 128
LightCyan 224255 255
LightCyan1 224255 255
LightCyan2 209238 238
LightCyan3 180205 205
LightCyan4 122139 139
LightGoldenrod238221 130
LightGoldenrod1255236 139
LightGoldenrod2238220 130
LightGoldenrod3205190 112
LightGoldenrod4139129 76
LightGoldenrodYellow250250 210
LightGray 211211 211
LightGreen 144238 144
LightGrey 211211 211
LightPink 255182 193
LightPink1 255174 185
LightPink2 238162 173
LightPink3 205140 149
LightPink4 13995 101
LightSalmon255160 122
LightSalmon1255160 122
LightSalmon2238149 114
LightSalmon3205129 98
LightSalmon413987 66
LightSeaGreen32178 170
LightSkyBlue135206 250
LightSkyBlue1176226 255
LightSkyBlue2164211 238
LightSkyBlue3141182 205
LightSkyBlue496123 139
LightSlateBlue132112 255
LightSlateGray119136 153
LightSlateGrey119136 153
LightSteelBlue176196 222
LightSteelBlue1202225 255
LightSteelBlue2188210 238
LightSteelBlue3162181 205
LightSteelBlue4110123 139
LightYellow255255 224
LightYellow1255255 224
LightYellow2238238 209
LightYellow3205205 180
LightYellow4139139 122
lime   0  2550
lime green 50205 50
LimeGreen 50205 50
linen  250 240 230
magenta   2550 255
magenta1  2550 255
magenta2  2380 238
magenta3  2050 205
magenta4  1390 139
maroon 128 0 0
maroon1   25552 179
maroon2   23848 167
maroon3   20541 144
maroon4   13928 98
medium aquamarine102205 170
medium blue00 205
medium orchid18685 211
medium purple147112 219
medium sea green60179 113
medium slate blue123104 238
medium spring green0250 154
medium turquoise72209 204
medium violet red19921 133
MediumAquamarine102205 170
MediumBlue 00 205
MediumOrchid18685 211
MediumOrchid1224102 255
MediumOrchid220995 238
MediumOrchid318082 205
MediumOrchid412255 139
MediumPurple147112 219
MediumPurple1171130 255
MediumPurple2159121 238
MediumPurple3137104 205
MediumPurple49371 139
MediumSeaGreen60179 113
MediumSlateBlue123104 238
MediumSpringGreen0250 154
MediumTurquoise72209 204
MediumVioletRed19921 133
midnight blue2525 112
MidnightBlue2525 112
mint cream 245255 250
MintCream 245255 250
misty rose 255228 225
MistyRose 255228 225
MistyRose1 255228 225
MistyRose2 238213 210
MistyRose3 205183 181
MistyRose4 139125 123
moccasin  255228 181
navajo white255222 173
NavajoWhite255222 173
NavajoWhite1255222 173
NavajoWhite2238207 161
NavajoWhite3205179 139
NavajoWhite4139121 94
navy   0  0 128
navy blue 00 128
NavyBlue  00 128
old lace  253245 230
OldLace   253245 230
olive  128 1280
olive drab 107142 35
OliveDrab 107142 35
OliveDrab1 192255 62
OliveDrab2 179238 58
OliveDrab3 154205 50
OliveDrab4 105139 34
orange 255 165 0
orange red 25569 0
orange1   255165 0
orange2   238154 0
orange3   205133 0
orange4   13990 0
OrangeRed 25569 0
OrangeRed1 25569 0
OrangeRed2 23864 0
OrangeRed3 20555 0
OrangeRed4 13937 0
orchid 218 112 214
orchid1   255131 250
orchid2   238122 233
orchid3   205105 201
orchid4   13971 137
pale goldenrod238232 170
pale green 152251 152
pale turquoise175238 238
pale violet red219112 147
PaleGoldenrod238232 170
PaleGreen 152251 152
PaleGreen1 154255 154
PaleGreen2 144238 144
PaleGreen3 124205 124
PaleGreen4 84139 84
PaleTurquoise175238 238
PaleTurquoise1187255 255
PaleTurquoise2174238 238
PaleTurquoise3150205 205
PaleTurquoise4102139 139
PaleVioletRed219112 147
PaleVioletRed1255130 171
PaleVioletRed2238121 159
PaleVioletRed3205104 127
PaleVioletRed413971 93
papaya whip255239 213
PapayaWhip 255239 213
peach puff 255218 185
PeachPuff 255218 185
PeachPuff1 255218 185
PeachPuff2 238203 173
PeachPuff3 205175 149
PeachPuff4 139119 101
peru   205 133 63
pink   255 192 203
pink1  255 181 197
pink2  238 169 184
pink3  205 145 158
pink4  139 99 108
plum   221 160 221
plum1  255 187 255
plum2  238 174 238
plum3  205 150 205
plum4  139 102 139
powder blue176224 230
PowderBlue 176224 230
purple 128 0 128
purple1   15548 255
purple2   14544 238
purple3   12538 205
purple4   8526 139
red    255 0 0
red1   255 0 0
red2   238 0 0
red3   205 0 0
red4   139 0 0
rosy brown 188143 143
RosyBrown 188143 143
RosyBrown1 255193 193
RosyBrown2 238180 180
RosyBrown3 205155 155
RosyBrown4 139105 105
royal blue 65105 225
RoyalBlue 65105 225
RoyalBlue1 72118 255
RoyalBlue2 67110 238
RoyalBlue3 5895 205
RoyalBlue4 3964 139
saddle brown13969 19
SaddleBrown13969 19
salmon 250 128 114
salmon1   255140 105
salmon2   238130 98
salmon3   205112 84
salmon4   13976 57
sandy brown244164 96
SandyBrown 244164 96
sea green 46139 87
SeaGreen  46139 87
SeaGreen1 84255 159
SeaGreen2 78238 148
SeaGreen3 67205 128
SeaGreen4 46139 87
seashell  255245 238
seashell1 255245 238
seashell2 238229 222
seashell3 205197 191
seashell4 139134 130
sienna 160 82 45
sienna1   255130 71
sienna2   238121 66
sienna3   205104 57
sienna4   13971 38
silver 192 192192
sky blue  135206 235
SkyBlue   135206 235
SkyBlue1  135206 255
SkyBlue2  126192 238
SkyBlue3  108166 205
SkyBlue4  74112 139
slate blue 10690 205
slate gray 112128 144
slate grey 112128 144
SlateBlue 10690 205
SlateBlue1 131111 255
SlateBlue2 122103 238
SlateBlue3 10589 205
SlateBlue4 7160 139
SlateGray 112128 144
SlateGray1 198226 255
SlateGray2 185211 238
SlateGray3 159182 205
SlateGray4 108123 139
SlateGrey 112128 144
snow   255 250 250
snow1  255 250 250
snow2  238 233 233
snow3  205 201 201
snow4  139 137 137
spring green0255 127
SpringGreen0255 127
SpringGreen10255 127
SpringGreen20238 118
SpringGreen30205 102
SpringGreen40139 69
steel blue 70130 180
SteelBlue 70130 180
SteelBlue1 99184 255
SteelBlue2 92172 238
SteelBlue3 79148 205
SteelBlue4 54100 139
tan    210 180 140
tan1   255 165 79
tan2   238 154 73
tan3   205 133 63
tan4   139 90 43
teal   0  128128
thistle   216191 216
thistle1  255225 255
thistle2  238210 238
thistle3  205181 205
thistle4  139123 139
tomato 255 99 71
tomato1   25599 71
tomato2   23892 66
tomato3   20579 57
tomato4   13954 38
turquoise 64224 208
turquoise1 0245 255
turquoise2 0229 238
turquoise3 0197 205
turquoise4 0134 139
violet 238 130 238
violet red 20832 144
VioletRed 20832 144
VioletRed1 25562 150
VioletRed2 23858 140
VioletRed3 20550 120
VioletRed4 13934 82
wheat  245 222 179
wheat1 255 231 186
wheat2 238 216 174
wheat3 205 186 150
wheat4 139 126 102
white  255 255 255
white smoke245245 245
WhiteSmoke 245245 245
yellow 255 255 0
yellow green154205 50
yellow1   255255 0
yellow2   238238 0
yellow3   205205 0
yellow4   139139 0
YellowGreen154205 50

 

PORTABILITY ISSUES

Mac OS X
On macOS, the following additional system colors are available. This first group contains all colors available in the HIToolbox library. (Note that in some cases the actual color values may depend on the current Appearance.)

systemActiveAreaFill
systemAlertActiveText
systemAlertBackgroundActive
systemAlertBackgroundInactive
systemAlertInactiveText
systemAlternatePrimaryHighlightColor
systemAppleGuideCoachmark
systemBevelActiveDark
systemBevelActiveLight
systemBevelButtonActiveText
systemBevelButtonInactiveText
systemBevelButtonPressedText
systemBevelButtonStickyActiveText
systemBevelButtonStickyInactiveText
systemBevelInactiveDark
systemBevelInactiveLight
systemBlack
systemBlackText
systemButtonActiveDarkHighlight
systemButtonActiveDarkShadow
systemButtonActiveLightHighlight
systemButtonActiveLightShadow
systemButtonFace
systemButtonFaceActive
systemButtonFaceInactive
systemButtonFacePressed
systemButtonFrame
systemButtonFrameActive
systemButtonFrameInactive
systemButtonInactiveDarkHighlight
systemButtonInactiveDarkShadow
systemButtonInactiveLightHighlight
systemButtonInactiveLightShadow
systemButtonPressedDarkHighlight
systemButtonPressedDarkShadow
systemButtonPressedLightHighlight
systemButtonPressedLightShadow
systemButtonText
systemChasingArrows
systemDialogActiveText
systemDialogBackgroundActive
systemDialogBackgroundInactive
systemDialogInactiveText
systemDocumentWindowBackground
systemDocumentWindowTitleActiveText
systemDocumentWindowTitleInactiveText
systemDragHilite
systemDrawerBackground
systemFinderWindowBackground
systemFocusHighlight
systemHighlight
systemHighlightAlternate
systemHighlightSecondary
systemHighlightText
systemIconLabelBackground
systemIconLabelBackgroundSelected
systemIconLabelSelectedText
systemIconLabelText
systemListViewBackground
systemListViewColumnDivider
systemListViewEvenRowBackground
systemListViewOddRowBackground
systemListViewSeparator
systemListViewSortColumnBackground
systemListViewText
systemListViewWindowHeaderBackground
systemMenu
systemMenuActive
systemMenuActiveText
systemMenuBackground
systemMenuBackgroundSelected
systemMenuDisabled
systemMenuItemActiveText
systemMenuItemDisabledText
systemMenuItemSelectedText
systemMenuText
systemMetalBackground
systemModelessDialogActiveText
systemModelessDialogBackgroundActive
systemModelessDialogBackgroundInactive
systemModelessDialogInactiveText
systemMovableModalBackground
systemMovableModalWindowTitleActiveText
systemMovableModalWindowTitleInactiveText
systemNotificationText
systemNotificationWindowBackground
systemPlacardActiveText
systemPlacardBackground
systemPlacardInactiveText
systemPlacardPressedText
systemPopupArrowActive
systemPopupArrowInactive
systemPopupArrowPressed
systemPopupButtonActiveText
systemPopupButtonInactiveText
systemPopupButtonPressedText
systemPopupLabelActiveText
systemPopupLabelInactiveText
systemPopupWindowTitleActiveText
systemPopupWindowTitleInactiveText
systemPrimaryHighlightColor
systemPushButtonActiveText
systemPushButtonInactiveText
systemPushButtonPressedText
systemRootMenuActiveText
systemRootMenuDisabledText
systemRootMenuSelectedText
systemScrollBarDelimiterActive
systemScrollBarDelimiterInactive
systemSecondaryGroupBoxBackground
systemSecondaryHighlightColor
systemSelectedTabTextColor
systemSheetBackground
systemSheetBackgroundOpaque
systemSheetBackgroundTransparent
systemStaticAreaFill
systemSystemDetailText
systemTabFrontActiveText
systemTabFrontInactiveText
systemTabNonFrontActiveText
systemTabNonFrontInactiveText
systemTabNonFrontPressedText
systemTabPaneBackground
systemToolbarBackground
systemTransparent
systemUtilityWindowBackgroundActive
systemUtilityWindowBackgroundInactive
systemUtilityWindowTitleActiveText
systemUtilityWindowTitleInactiveText
systemWhite
systemWhiteText
systemWindowBody
systemWindowHeaderActiveText
systemWindowHeaderBackground
systemWindowHeaderInactiveText

The second group of MacOS colors below are based on Apple's "semantic" NScolors. On OSX 10.14 (Mojave) and later these colors change value when Dark Mode is enabled. However, the change is only observable when the Apple window manager is drawing to the screen. So the winfo rgb command will return the color coordinates used in the standard Aqua mode, even if Dark Mode has been selected in the system preferences. The numbered systemWindowBackgroundColors are used in the ttk::notebook and ttk::labelframe widgets to provide a contrasting background. Each numbered color constrasts with its predecessor.

systemControlAccentColor
systemControlTextColor
systemDisabledControlTextColor
systemLabelColor  
systemSelectedTextBackgroundColor  
systemSelectedTextColor
systemTextBackgroundColor
systemTextColor  
systemWindowBackgroundColor
systemWindowBackgroundColor1
systemWindowBackgroundColor2
systemWindowBackgroundColor3
systemWindowBackgroundColor4
systemWindowBackgroundColor5
systemWindowBackgroundColor6
systemWindowBackgroundColor7

Windows On Windows, the following additional system colors are available (note that the actual color values depend on the currently active OS theme):



system3dDarkShadowsystemHighlight
system3dLightsystemHighlightText
systemActiveBordersystemInactiveBorder
systemActiveCaptionsystemInactiveCaption
systemAppWorkspacesystemInactiveCaptionText
systemBackgroundsystemInfoBackground
systemButtonFacesystemInfoText
systemButtonHighlightsystemMenu
systemButtonShadowsystemMenuText
systemButtonTextsystemScrollbar
systemCaptionTextsystemWindow
systemDisabledTextsystemWindowFrame
systemGrayTextsystemWindowText

 

SEE ALSO

options(n), Tk_GetColor(3)  

KEYWORDS

color, option


 

Index

NAME
DESCRIPTION
PORTABILITY ISSUES
SEE ALSO
KEYWORDS