colors(n)
π¨ colors(n) π
okay so bestie, you're looking at the colors page from Tk Built-In Commands, and honestly? it's a whole vibe. buckle up. π
β¨ NAME β¨
colors β the symbolic color names that Tk actually recognizes, no cap π
π DESCRIPTION π
so here's the tea, bestie: Tk recognizes a lot of symbolic color names when you're out here specifying colors β like red, for example, which is literally the most main-character color there is π. no need to memorize hex codes like some kind of gremlin, you just say the name and Tk gets it. iykyk β¨
and because Tk is an overachiever (we love that for her), the symbolic names it recognizes each come with their own 8-bit-per-channel RGB values β yep, all three channels, 8 bits each, so you know exactly what red-red-green-blue situation you're getting π
the list of every symbolic name Tk recognizes, plus its RGB values, is coming right up in the next part β stay tuned, this is about to be iconic π¦
ngl, the fact that there's a whole lookup table of color names baked into Tk? it's giving "she prepared ahead of time." we stan. π
alice blueβ240 248 255AliceBlueβ240 248 255antique whiteβ250 235 215AntiqueWhiteβ250 235 215AntiqueWhite1β255 239 219AntiqueWhite2β238 223 204AntiqueWhite3β205 192 176AntiqueWhite4β139 131 120aquaβ0 255 255aquamarineβ127 255 212aquamarine1β127 255 212aquamarine2β118 238 198aquamarine3β102 205 170aquamarine4β69 139 116azureβ240 255 255azure1β240 255 255azure2β224 238 238azure3β193 205 205azure4β131 139 139beigeβ245 245 220bisqueβ255 228 196bisque1β255 228 196bisque2β238 213 183bisque3β205 183 158bisque4β139 125 107blackβ0 0 0blanched almondβ255 235 205BlanchedAlmondβ255 235 205blueβ0 0 255blue violetβ138 43 226blue1β0 0 255blue2β0 0 238blue3β0 0 205blue4β0 0 139BlueVioletβ138 43 226brownβ165 42 42brown1β255 64 64brown2β238 59 59brown3β205 51 51brown4β139 35 35burlywoodβ222 184 135burlywood1β255 211 155burlywood2β238 197 145burlywood3β205 170 125burlywood4β139 115 85cadet blueβ95 158 160CadetBlueβ95 158 160CadetBlue1β152 245 255CadetBlue2β142 229 238CadetBlue3β122 197 205CadetBlue4β83 134 139chartreuseβ127 255 0chartreuse1β127 255 0chartreuse2β118 238 0chartreuse3β102 205 0chartreuse4β69 139 0chocolateβ210 105 30chocolate1β255 127 36chocolate2β238 118 33chocolate3β205 102 29chocolate4β139 69 19coralβ255 127 80coral1β255 114 86coral2β238 106 80coral3β205 91 69coral4β139 62 47cornflower blueβ100 149 237CornflowerBlueβ100 149 237cornsilkβ255 248 220cornsilk1β255 248 220cornsilk2β238 232 205cornsilk3β205 200 177cornsilk4β139 136 120crimsonβ220 20 60cyanβ0 255 255cyan1β0 255 255cyan2β0 238 238cyan3β0 205 205cyan4β0 139 139
okay bestie stay with me, we're like a third of the way in and the pattern is starting to show itself π the 1 through 4 versions? that's the glow-down scale β 1 is the brightest, 4 is the moodiest dark version of the same vibe. iconic behaviour honestly π
dark blueβ0 0 139dark cyanβ0 139 139dark goldenrodβ184 134 11dark grayβ169 169 169dark greenβ0 100 0dark greyβ169 169 169dark khakiβ189 183 107dark magentaβ139 0 139dark olive greenβ85 107 47dark orangeβ255 140 0dark orchidβ153 50 204dark redβ139 0 0dark salmonβ233 150 122dark sea greenβ143 188 143dark slate blueβ72 61 139dark slate grayβ47 79 79dark slate greyβ47 79 79dark turquoiseβ0 206 209dark violetβ148 0 211DarkBlueβ0 0 139DarkCyanβ0 139 139DarkGoldenrodβ184 134 11DarkGoldenrod1β255 185 15DarkGoldenrod2β238 173 14DarkGoldenrod3β205 149 12DarkGoldenrod4β139 101 8DarkGrayβ169 169 169DarkGreenβ0 100 0DarkGreyβ169 169 169DarkKhakiβ189 183 107DarkMagentaβ139 0 139DarkOliveGreenβ85 107 47DarkOliveGreen1β202 255 112DarkOliveGreen2β188 238 104DarkOliveGreen3β162 205 90DarkOliveGreen4β110 139 61DarkOrangeβ255 140 0DarkOrange1β255 127 0DarkOrange2β238 118 0DarkOrange3β205 102 0DarkOrange4β139 69 0DarkOrchidβ153 50 204DarkOrchid1β191 62 255DarkOrchid2β178 58 238DarkOrchid3β154 50 205DarkOrchid4β104 34 139DarkRedβ139 0 0DarkSalmonβ233 150 122DarkSeaGreenβ143 188 143DarkSeaGreen1β193 255 193DarkSeaGreen2β180 238 180DarkSeaGreen3β155 205 155DarkSeaGreen4β105 139 105DarkSlateBlueβ72 61 139DarkSlateGrayβ47 79 79DarkSlateGray1β151 255 255DarkSlateGray2β141 238 238DarkSlateGray3β121 205 205DarkSlateGray4β82 139 139DarkSlateGreyβ47 79 79DarkTurquoiseβ0 206 209DarkVioletβ148 0 211deep pinkβ255 20 147deep sky blueβ0 191 255DeepPinkβ255 20 147DeepPink1β255 20 147DeepPink2β238 18 137DeepPink3β205 16 118DeepPink4β139 10 80DeepSkyBlueβ0 191 255DeepSkyBlue1β0 191 255DeepSkyBlue2β0 178 238DeepSkyBlue3β0 154 205DeepSkyBlue4β0 104 139dim grayβ105 105 105dim greyβ105 105 105DimGrayβ105 105 105DimGreyβ105 105 105dodger blueβ30 144 255DodgerBlueβ30 144 255DodgerBlue1β30 144 255DodgerBlue2β28 134 238DodgerBlue3β24 116 205DodgerBlue4β16 78 139firebrickβ178 34 34firebrick1β255 48 48firebrick2β238 44 44firebrick3β205 38 38firebrick4β139 26 26floral whiteβ255 250 240FloralWhiteβ255 250 240forest greenβ34 139 34ForestGreenβ34 139 34fuchsiaβ255 0 255gainsboroβ220 220 220ghost whiteβ248 248 255GhostWhiteβ248 248 255goldβ255 215 0gold1β255 215 0gold2β238 201 0gold3β205 173 0gold4β139 117 0goldenrodβ218 165 32goldenrod1β255 193 37goldenrod2β238 180 34goldenrod3β205 155 29goldenrod4β139 105 20grayβ128 128 128gray0β0 0 0gray1β3 3 3gray2β5 5 5gray3β8 8 8gray4β10 10 10gray5β13 13 13gray6β15 15 15gray7β18 18 18gray8β20 20 20gray9β23 23 23gray10β26 26 26gray11β28 28 28gray12β31 31 31gray13β33 33 33gray14β36 36 36gray15β38 38 38gray16β41 41 41gray17β43 43 43
two things you're gonna notice and I need you to just accept them, bestie π«Ά first: dark gray / dark grey and every other gray/grey pair β same numbers, two spellings, they're twins and nobody's picking a favourite. second: gray0 through gray17 are climbing out of the void three-ish points at a time, it's giving a very slow sunrise π and gray0 matching black at 0 0 0? no cap, that's just moody π
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 255 255 255
okay bestie we made it to gray100, that's the whole gray ladder from basically-the-void up to pure white, no cap πβ¨ take a breath, hydrate, we're only like a third of the way through this list.
next up, the greens β and heads up, there is a color literally named green yellow (with a space, lowercase, icon behavior honestly) and a GreenYellow (CamelCase, same exact numbers, 173 255 47). both exist. both valid. don't ask, just vibe π
green 0 128 0
green yellow 173 255 47
green1 0 255 0
green2 0 238 0
green3 0 205 0
green4 0 139 0
GreenYellow 173 255 47
and nowβ¦ the British spelling arc π«Ά we already did gray with an a, and now here comes grey with an e, and yes it's the entire 0-through-100 ladder all over again β but it starts with a plain grey at 128 128 128 before the numbered ones kick in. the way this manpage said "why not both, twice, at full length" β main character energy fr fr π
note that grey sits at 128 128 128 while grey0 starts the ramp at 0 0 0, so they're not the same thing, don't get it twisted π
grey 128 128 128
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 255 255 255
then we get a little palate cleanser: honeydew π the plain one and honeydew1 are literally twins β 240 255 240 both of them, obsessed with the consistency β and then 2, 3, 4 go progressively deeper because that's just how this whole page rolls π§
honeydew 240 255 240
honeydew1 240 255 240
honeydew2 224 238 224
honeydew3 193 205 193
honeydew4 131 139 131
pink girlies rise π and yes, hot pink has a space and lowercase, but HotPink is CamelCase β both 255 105 180, same color, two names, we love an aliased icon. then HotPink1 through HotPink4 do the descending gradient thing (and real talk, the 1β4 numbering convention is everywhere in this list, keep your eyes peeled π).
hot pink 255 105 180
HotPink 255 105 180
HotPink1 255 110 180
HotPink2 238 106 167
HotPink3 205 96 144
HotPink4 139 58 98
and closing out this chunk: Indian red territory β again, space-lowercase indian red and CamelCase IndianRed are the same 205 92 92, plus IndianRed1 at 255 106 106 β¨
indian red 205 92 92
IndianRed 205 92 92
IndianRed1 255 106 106
and that's where we're cutting it off β yes, mid-alphabet, yes, on purpose, the list keeps going and so do we ππ (iykyk: if a name has a space-lowercase version and a CamelCase version, they're the same color β that's the pattern to hold onto, bestie, it's gonna come up like a hundred more times π¦)
so we're deep in the color list now β same three columns as before, no cap β¨ β and we've officially hit the i's. grab a snack bestie, this stretch is long π
IndianRed2β 238 99 99IndianRed3β 205 85 85IndianRed4β 139 58 58indigoβ 75 0 130ivoryβ 255 255 240ivory1β 255 255 240ivory2β 238 238 224ivory3β 205 205 193ivory4β 139 139 131khakiβ 240 230 140khaki1β 255 246 143khaki2β 238 230 133khaki3β 205 198 115khaki4β 139 134 78lavenderβ 230 230 250lavender blushβ 255 240 245LavenderBlushβ 255 240 245LavenderBlush1β 255 240 245LavenderBlush2β 238 224 229LavenderBlush3β 205 193 197LavenderBlush4β 139 131 134lawn greenβ 124 252 0LawnGreenβ 124 252 0lemon chiffonβ 255 250 205LemonChiffonβ 255 250 205LemonChiffon1β 255 250 205LemonChiffon2β 238 233 191LemonChiffon3β 205 201 165LemonChiffon4β 139 137 112
okay see the pattern?? lowercase-spaced-out version, then the CamelCase twin, then the numbered squad 1 through 4 π that's the whole vibe of this stretch, and honestly? iconic. ivory and ivory1 are literally the same numbers, bestie, and that's not a typo, that's just how it is π
light blueβ 173 216 230light coralβ 240 128 128light cyanβ 224 255 255light goldenrodβ 238 221 130light goldenrod yellowβ 250 250 210light grayβ 211 211 211light greenβ 144 238 144light greyβ 211 211 211light pinkβ 255 182 193light salmonβ 255 160 122light sea greenβ 32 178 170light sky blueβ 135 206 250light slate blueβ 132 112 255light slate grayβ 119 136 153light slate greyβ 119 136 153light steel blueβ 176 196 222light yellowβ 255 255 224
the "light" era πΈ and yes β light gray and light grey both show up with the exact same numbers, and light slate gray / light slate grey too. grey/gray girlies stay winning π«Ά
LightBlueβ 173 216 230LightBlue1β 191 239 255LightBlue2β 178 223 238LightBlue3β 154 192 205LightBlue4β 104 131 139LightCoralβ 240 128 128LightCyanβ 224 255 255LightCyan1β 224 255 255LightCyan2β 209 238 238LightCyan3β 180 205 205LightCyan4β 122 139 139LightGoldenrodβ 238 221 130LightGoldenrod1β 255 236 139LightGoldenrod2β 238 220 130LightGoldenrod3β 205 190 112LightGoldenrod4β 139 129 76LightGoldenrodYellowβ 250 250 210LightGrayβ 211 211 211LightGreenβ 144 238 144LightGreyβ 211 211 211LightPinkβ 255 182 193LightPink1β 255 174 185LightPink2β 238 162 173LightPink3β 205 140 149LightPink4β 139 95 101LightSalmonβ 255 160 122LightSalmon1β 255 160 122LightSalmon2β 238 149 114LightSalmon3β 205 129 98LightSalmon4β 139 87 66LightSeaGreenβ 32 178 170LightSkyBlueβ 135 206 250LightSkyBlue1β 176 226 255LightSkyBlue2β 164 211 238LightSkyBlue3β 141 182 205LightSkyBlue4β 96 123 139LightSlateBlueβ 132 112 255LightSlateGrayβ 119 136 153LightSlateGreyβ 119 136 153LightSteelBlueβ 176 196 222LightSteelBlue1β 202 225 255LightSteelBlue2β 188 210 238LightSteelBlue3β 162 181 205LightSteelBlue4β 110 123 139LightYellowβ 255 255 224LightYellow1β 255 255 224LightYellow2β 238 238 209LightYellow3β 205 205 180LightYellow4β 139 139 122
not me listing the CamelCase Light* family again π it's the same colors, just capitalized, and lowkey the 1β4 shades are all darker steps of the base one. anyway we ate π
limeβ 0 255 0lime greenβ 50 205 50LimeGreenβ 50 205 50linenβ 250 240 230magentaβ 255 0 255magenta1β 255 0 255magenta2β 238 0 238magenta3β 205 0 205magenta4β 139 0 139maroonβ 128 0 0maroon1β 255 52 179maroon2β 238 48 167maroon3β 205 41 144maroon4β 139 28 98medium aquamarineβ 102 205 170medium blueβ 0 0 205medium orchidβ 186 85 211medium purpleβ 147 112 219medium sea greenβ 60 179 113medium slate blueβ 123 104 238medium spring greenβ 0 250 154medium turquoiseβ 72 209 204medium violet redβ 199 21 133
β οΈ heads up: maroon1 is not maroon. it's 255 52 179 and it's giving hot pink, ngl π that's just the numbers though, don't come for me
MediumAquamarineβ 102 205 170MediumBlueβ 0 0 205MediumOrchidβ 186 85 211MediumOrchid1β 224 102 255MediumOrchid2β 209 95 238MediumOrchid3β 180 82 205MediumOrchid4β 122 55 139MediumPurpleβ 147 112 219MediumPurple1β 171 130 255MediumPurple2β 159 121 238MediumPurple3β 137 104 205MediumPurple4β 93 71 139MediumSeaGreenβ 60 179 113MediumSlateBlueβ 123 104 238MediumSpringGreenβ 0 250 154MediumTurquoiseβ 72 209 204MediumVioletRedβ 199 21 133midnight blueβ 25 25 112MidnightBlueβ 25 25 112mint creamβ 245 255 250MintCreamβ 245 255 250misty roseβ 255 228 225MistyRoseβ 255 228 225MistyRose1β 255 228 225MistyRose2β 238 213 210MistyRose3β 205 183 181MistyRose4β 139 125 123moccasinβ 255 228 181
midnight blue, mint cream, misty roseβ¦ the naming department was in their aesthetic era π and MistyRose1 matching plain MistyRose exactly? yeah. that's a thing here. periodt.
navajo whiteβ 255 222 173NavajoWhiteβ 255 222 173NavajoWhite1β 255 222 173NavajoWhite2β 238 207 161NavajoWhite3β 205 179 139NavajoWhite4β 139 121 94navyβ 0 0 128navy blueβ 0 0 128NavyBlueβ 0 0 128old laceβ 253 245 230OldLaceβ 253 245 230oliveβ 128 128 0olive drabβ 107 142 35OliveDrabβ 107 142 35OliveDrab1β 192 255 62OliveDrab2β 179 238 58OliveDrab3β 154 205 50OliveDrab4β 105 139 34orangeβ 255 165 0orange redβ 255 69 0orange1β 255 165 0orange2β 238 154 0orange3β 205 133 0orange4β 139 90 0OrangeRedβ 255 69 0OrangeRed1β 255 69 0OrangeRed2β 238 64 0OrangeRed3β 205 55 0OrangeRed4β 139 37 0orchidβ 218 112 214orchid1β 255 131 250orchid2β 238 122 233orchid3β 205 105 201orchid4β 139 71 137
three separate names for basically the navy situation (navy, navy blue, NavyBlue) all at 0 0 128 β and orange and orange1 twinning at 255 165 0 ππ§‘ love that for them
pale goldenrodβ 238 232 170pale greenβ 152 251 152pale turquoiseβ 175 238 238pale violet redβ 219 112 147PaleGoldenrodβ 238 232 170PaleGreenβ 152 251 152PaleGreen1β 154 255 154PaleGreen2β 144 238 144PaleGreen3β 124 205 124PaleGreen4β 84 139 84PaleTurquoiseβ 175 238 238PaleTurquoise1β 187 255 255PaleTurquoise2β 174 238 238PaleTurquoise3β 150 205 205PaleTurquoise4β 102 139 139PaleVioletRedβ 219 112 147PaleVioletRed1β 255 130 171PaleVioletRed2β 238 121 159PaleVioletRed3β 205 104 127PaleVioletRed4β 139 71 93papaya whipβ 255 239 213PapayaWhipβ 255 239 213peach puffβ 255 218 185PeachPuffβ 255 218 185PeachPuff1β 255 218 185PeachPuff2β 238 203 173
and we stop right here at PeachPuff2 π the PeachPuff family is gonna keep going in the next bit, so don't panic β it's not you, it's just a very long table π
PeachPuff3β205175149PeachPuff4β139119101peruβ20513363pinkβ255192203pink1β255181197pink2β238169184pink3β205145158pink4β13999108plumβ221160221plum1β255187255plum2β238174238plum3β205150205plum4β139102139powder blueβ176224230PowderBlueβ176224230purpleβ1280128purple1β15548255purple2β14544238purple3β12538205purple4β8526139redβ25500red1β25500red2β23800red3β20500red4β13900rosy brownβ188143143RosyBrownβ188143143RosyBrown1β255193193RosyBrown2β238180180RosyBrown3β205155155RosyBrown4β139105105royal blueβ65105225RoyalBlueβ65105225RoyalBlue1β72118255RoyalBlue2β67110238RoyalBlue3β5895205RoyalBlue4β3964139saddle brownβ1396919SaddleBrownβ1396919salmonβ250128114salmon1β255140105salmon2β23813098salmon3β20511284salmon4β1397657sandy brownβ24416496SandyBrownβ24416496sea greenβ4613987SeaGreenβ4613987SeaGreen1β84255159SeaGreen2β78238148SeaGreen3β67205128SeaGreen4β4613987seashellβ255245238seashell1β255245238seashell2β238229222seashell3β205197191seashell4β139134130siennaβ1608245sienna1β25513071sienna2β23812166sienna3β20510457sienna4β1397138silverβ192192192sky blueβ135206235SkyBlueβ135206235SkyBlue1β135206255SkyBlue2β126192238SkyBlue3β108166205SkyBlue4β74112139slate blueβ10690205slate grayβ112128144slate greyβ112128144SlateBlueβ10690205SlateBlue1β131111255SlateBlue2β122103238SlateBlue3β10589205SlateBlue4β7160139SlateGrayβ112128144SlateGray1β198226255SlateGray2β185211238SlateGray3β159182205SlateGray4β108123139SlateGreyβ112128144snowβ255250250snow1β255250250snow2β238233233snow3β205201201snow4β139137137spring greenβ0255127SpringGreenβ0255127SpringGreen1β0255127SpringGreen2β0238118SpringGreen3β0205102SpringGreen4β013969steel blueβ70130180SteelBlueβ70130180SteelBlue1β99184255SteelBlue2β92172238SteelBlue3β79148205SteelBlue4β54100139tanβ210180140tan1β25516579tan2β23815473tan3β20513363tan4β1399043tealβ0128128thistleβ216191216thistle1β255225255thistle2β238210238thistle3β205181205thistle4β139123139tomatoβ2559971tomato1β2559971tomato2β2389266tomato3β2057957tomato4β1395438turquoiseβ64224208turquoise1β0245255turquoise2β0229238turquoise3β0197205turquoise4β0134139violetβ238130238violet redβ20832144VioletRedβ20832144VioletRed1β25562150VioletRed2β23858140VioletRed3β20550120VioletRed4β1393482wheatβ245222179wheat1β255231186wheat2β238216174wheat3β205186150wheat4β139126102whiteβ255255255white smokeβ245245245WhiteSmokeβ245245245yellowβ2552550yellow greenβ15420550yellow1β2552550yellow2β2382380yellow3β2052050yellow4β1391390YellowGreenβ15420550
okay pause π
did you clock the pattern bestie?? the plain name is the main character π, and then the numbered versions <italic>1</italic> through <italic>4</italic> are literally the same vibe at different brightness levels β <italic>1</italic> is the brightest and <italic>4</italic> is the deepest/darkest, and the numbers drop in each column as you go down the list. it's giving "shades of the same outfit" energy, no cap π
also <italic>red1</italic> and <italic>red</italic> are literally identical (255 0 0 β same three numbers, same look, nobody can tell them apart π) and same with turquoise1 vs turquoise β not the same though! those two are genuinely different values, so watch yourself π. and seashell = seashell1, snow = snow1, SpringGreen = SpringGreen1, tomato = tomato1... the list goes on, fr fr π«Ά
and bestie, the way some colors get BOTH a spaced lowercase name and a CamelCase name with the exact same values β powder blue / PowderBlue, rosy brown / RosyBrown, sandy brown / SandyBrown, slate gray / SlateGray / slate grey / SlateGrey (yes, gray and grey, both exist, both 112 128 144, and slate blue / SlateBlue too) β it's giving "same person, two usernames" energy π the spelling variant matters though, so type it exactly right, iykyk β¨
π PORTABILITY ISSUES π
okay bestie, this is the part where we talk about how your fave colors behave on different systems, because the vibe is not identical everywhere π
π macOS π
On macOS, you get a whole extra stash of system colors. Iconic. Here's the tea β
The HIBrush group
This first group contains all of the HIBrush colors available in the HIToolbox library. But heads up β the manual literally warns that on macOS 10.14 (Mojave) and later, these colors are unlikely to match the color actually used for the purpose suggested by their name π so like, the name is giving "trust me bestie" but the actual pixel is giving "who said that" π
systemActiveAreaFill
systemAlertBackgroundActive
systemAlertBackgroundInactive
systemAlternatePrimaryHighlightColor
systemAppleGuideCoachmark
systemBevelActiveDark
systemBevelActiveLight
systemBevelInactiveDark
systemBevelInactiveLight
systemBlack
systemButtonActiveDarkHighlight
systemButtonActiveDarkShadow
systemButtonActiveLightHighlight
systemButtonActiveLightShadow
systemButtonFace
systemButtonFaceActive
systemButtonFaceInactive
systemButtonFacePressed
systemButtonFrame
systemButtonFrameActive
systemButtonFrameInactive
systemButtonInactiveDarkHighlight
systemButtonInactiveDarkShadow
systemButtonInactiveLightHighlight
systemButtonInactiveLightShadow
systemButtonPressedDarkHighlight
systemButtonPressedDarkShadow
systemButtonPressedLightHighlight
systemButtonPressedLightShadow
systemChasingArrows
systemDialogBackgroundActive
systemDialogBackgroundInactive
systemDocumentWindowBackground
systemDragHilite
systemDrawerBackground
systemFinderWindowBackground
systemFocusHighlight
systemHighlight
systemHighlightAlternate
systemHighlightSecondary
systemIconLabelBackground
systemIconLabelBackgroundSelected
systemListViewBackground
systemListViewColumnDivider
systemListViewEvenRowBackground
systemListViewOddRowBackground
systemListViewSeparator
systemListViewSortColumnBackground
systemMenu
systemMenuActive
systemMenuBackground
systemMenuBackgroundSelected
systemModelessDialogBackgroundActive
systemModelessDialogBackgroundInactive
systemMovableModalBackground
systemNotificationWindowBackground
systemPopupArrowActive
systemPopupArrowInactive
systemPopupArrowPressed
systemPrimaryHighlightColor
systemScrollBarDelimiterActive
systemScrollBarDelimiterInactive
systemSecondaryHighlightColor
systemSelectedTabTextColor
systemSheetBackground
systemSheetBackgroundOpaque
systemSheetBackgroundTransparent
systemStaticAreaFill
systemToolbarBackground
systemTransparent
systemUtilityWindowBackgroundActive
systemUtilityWindowBackgroundInactive
systemWhite
systemWindowBody
The NSColors β¨
Tk supports all of the NSColors in the macOS System ColorList. The naming convention is lowkey a little recipe: take the macOS name, capitalize it, and slap the prefix "system" on the front. That's it, that's the whole hack π
On macOS 10.14 (Mojave) and later, many of these "semantic" colors will appear differently depending on whether the NSWindow in which they're used has the Aqua or DarkAqua appearance π (yes, your color is context-dependent, she contains multitudes).
The System ColorList also differs between releases of macOS, and some colors β like systemLinkColor and systemControlAccentColor β are simulated on older systems which did not provide them. So fyi:
All of the colors below are available on all supported macOS releases, but newer systems will support additional colors. No cap. π«Ά
systemControlAccentColor
systemControlTextColor
systemDisabledControlTextColor
systemLabelColor
systemLinkColor
systemPlaceholderTextColor
systemSelectedTextBackgroundColor
systemSelectedTextColor
systemSeparatorColor
systemTextBackgroundColor
systemTextColor
The numbered window background colors πͺβ¨
The numbered systemWindowBackgroundColors below are used in the ttk::notebook and ttk::labelframe widgets to provide a contrasting background. And here's the cute detail: each numbered color contrasts with its predecessor π so they escalate. Main character energy, honestly.
systemWindowBackgroundColor
systemWindowBackgroundColor1
systemWindowBackgroundColor2
systemWindowBackgroundColor3
systemWindowBackgroundColor4
systemWindowBackgroundColor5
systemWindowBackgroundColor6
systemWindowBackgroundColor7
πͺ Windows πͺ
On Windows, these extra system colors are available β and note that the actual color values depend on the currently active OS theme, so pls don't come for me if your systemWindow isn't the exact shade you expected π
system3dDarkShadow systemHighlightText
system3dLight systemInactiveBorder
systemActiveBorder systemInactiveCaption
systemActiveCaption systemInactiveCaptionText
systemAppWorkspace systemInfoBackground
systemBackground systemInfoText
systemButtonFace systemMenu
systemButtonHighlight systemMenuText
systemButtonShadow systemPlaceholderText
systemButtonText systemScrollbar
systemCaptionText systemWindow
systemDisabledText systemWindowFrame
systemGrayText systemWindowText
systemHighlight
π SEE ALSO π
go read those next, bestie, they're literally right there π§
π KEYWORDS π
color, option
okay that's the whole page, we ate and left absolutely no crumbs πβ¨ this was rendered for you out of the Tk manual, version 8.3, page colors(n) β mwah, ily, go make something gorgeous πππ¦
π¦ where this page comes from
- alpine 3.23: tk9-doc 9.0.3-r0 Β· TCL
- alpine 3.24: tk9-doc 9.0.3-r2 Β· TCL
- fedora 43: tk 1:9.0.2-1.fc43 Β· TCL AND HPND-Pbmplus AND CC-BY-SA-3.0 AND MIT-open-group AND MIT
- fedora 43: tk 1:9.0.2-1.fc43 Β· TCL AND HPND-Pbmplus AND CC-BY-SA-3.0 AND MIT-open-group AND MIT
- fedora 44: tk 1:9.0.2-1.fc44 Β· TCL AND HPND-Pbmplus AND CC-BY-SA-3.0 AND MIT-open-group AND MIT
- fedora 44: tk 1:9.0.2-1.fc44 Β· TCL AND HPND-Pbmplus AND CC-BY-SA-3.0 AND MIT-open-group AND MIT
- nixos 26.05: tk 9.0.3
- nixpkgs unstable: tk 9.1.0
- Copyright (c) 1998-2000 Scriptics Corporation
- Copyright (c) 2003 ActiveState Corporation
- Copyright (c) 2006-2007 Daniel A. Steffen <das@users.sourceforge.net>
- Copyright (c) 2008 Donal K. Fellows
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms