2 '\" Copyright (c) 1998-2000 by Scriptics Corporation.
3 '\" Copyright (c) 2003 ActiveState Corporation.
4 '\" Copyright (c) 2006-2007 Daniel A. Steffen <das@users.sourceforge.net>
5 '\" Copyright (c) 2008 Donal K. Fellows
7 .TH colors n 8.3 Tk "Tk Built-In Commands"
10 .\" Note: do not modify the .SH NAME line immediately below!
12 colors \- symbolic color names recognized by Tk
16 Tk recognizes many symbolic color names (e.g., \fBred\fR) when
17 specifying colors. The symbolic names recognized by Tk and their
18 8-bit-per-channel RGB values are:
21 \fBName\fR \fBRed\fR \fBGreen\fR \fBBlue\fR
22 alice blue 240 248 255
24 antique white 250 235 215
25 AntiqueWhite 250 235 215
26 AntiqueWhite1 255 239 219
27 AntiqueWhite2 238 223 204
28 AntiqueWhite3 205 192 176
29 AntiqueWhite4 139 131 120
31 aquamarine 127 255 212
32 aquamarine1 127 255 212
33 aquamarine2 118 238 198
34 aquamarine3 102 205 170
35 aquamarine4 69 139 116
48 blanched almond 255 235 205
49 BlanchedAlmond 255 235 205
51 blue violet 138 43 226
63 burlywood1 255 211 155
64 burlywood2 238 197 145
65 burlywood3 205 170 125
69 CadetBlue1 152 245 255
70 CadetBlue2 142 229 238
71 CadetBlue3 122 197 205
88 cornflower blue 100 149 237
89 CornflowerBlue 100 149 237
103 dark goldenrod 184 134 11
104 dark gray 169 169 169
106 dark grey 169 169 169
107 dark khaki 189 183 107
108 dark magenta 139 0 139
109 dark olive green 85 107 47
110 dark orange 255 140 0
111 dark orchid 153 50 204
113 dark salmon 233 150 122
114 dark sea green 143 188 143
115 dark slate blue 72 61 139
116 dark slate gray 47 79 79
117 dark slate grey 47 79 79
118 dark turquoise 0 206 209
119 dark violet 148 0 211
122 DarkGoldenrod 184 134 11
123 DarkGoldenrod1 255 185 15
124 DarkGoldenrod2 238 173 14
125 DarkGoldenrod3 205 149 12
126 DarkGoldenrod4 139 101 8
130 DarkKhaki 189 183 107
131 DarkMagenta 139 0 139
132 DarkOliveGreen 85 107 47
133 DarkOliveGreen1 202 255 112
134 DarkOliveGreen2 188 238 104
135 DarkOliveGreen3 162 205 90
136 DarkOliveGreen4 110 139 61
138 DarkOrange1 255 127 0
139 DarkOrange2 238 118 0
140 DarkOrange3 205 102 0
142 DarkOrchid 153 50 204
143 DarkOrchid1 191 62 255
144 DarkOrchid2 178 58 238
145 DarkOrchid3 154 50 205
146 DarkOrchid4 104 34 139
148 DarkSalmon 233 150 122
149 DarkSeaGreen 143 188 143
150 DarkSeaGreen1 193 255 193
151 DarkSeaGreen2 180 238 180
152 DarkSeaGreen3 155 205 155
153 DarkSeaGreen4 105 139 105
154 DarkSlateBlue 72 61 139
155 DarkSlateGray 47 79 79
156 DarkSlateGray1 151 255 255
157 DarkSlateGray2 141 238 238
158 DarkSlateGray3 121 205 205
159 DarkSlateGray4 82 139 139
160 DarkSlateGrey 47 79 79
161 DarkTurquoise 0 206 209
164 deep sky blue 0 191 255
170 DeepSkyBlue 0 191 255
171 DeepSkyBlue1 0 191 255
172 DeepSkyBlue2 0 178 238
173 DeepSkyBlue3 0 154 205
174 DeepSkyBlue4 0 104 139
179 dodger blue 30 144 255
180 DodgerBlue 30 144 255
181 DodgerBlue1 30 144 255
182 DodgerBlue2 28 134 238
183 DodgerBlue3 24 116 205
184 DodgerBlue4 16 78 139
190 floral white 255 250 240
191 FloralWhite 255 250 240
192 forest green 34 139 34
193 ForestGreen 34 139 34
195 gainsboro 220 220 220
196 ghost white 248 248 255
197 GhostWhite 248 248 255
204 goldenrod1 255 193 37
205 goldenrod2 238 180 34
206 goldenrod3 205 155 29
207 goldenrod4 139 105 20
311 green yellow 173 255 47
316 GreenYellow 173 255 47
420 honeydew1 240 255 240
421 honeydew2 224 238 224
422 honeydew3 193 205 193
423 honeydew4 131 139 131
432 IndianRed1 255 106 106
448 lavender blush 255 240 245
449 LavenderBlush 255 240 245
450 LavenderBlush1 255 240 245
451 LavenderBlush2 238 224 229
452 LavenderBlush3 205 193 197
453 LavenderBlush4 139 131 134
456 lemon chiffon 255 250 205
457 LemonChiffon 255 250 205
458 LemonChiffon1 255 250 205
459 LemonChiffon2 238 233 191
460 LemonChiffon3 205 201 165
461 LemonChiffon4 139 137 112
462 light blue 173 216 230
463 light coral 240 128 128
464 light cyan 224 255 255
465 light goldenrod 238 221 130
466 light goldenrod yellow 250 250 210
467 light gray 211 211 211
468 light green 144 238 144
469 light grey 211 211 211
470 light pink 255 182 193
471 light salmon 255 160 122
472 light sea green 32 178 170
473 light sky blue 135 206 250
474 light slate blue 132 112 255
475 light slate gray 119 136 153
476 light slate grey 119 136 153
477 light steel blue 176 196 222
478 light yellow 255 255 224
479 LightBlue 173 216 230
480 LightBlue1 191 239 255
481 LightBlue2 178 223 238
482 LightBlue3 154 192 205
483 LightBlue4 104 131 139
484 LightCoral 240 128 128
485 LightCyan 224 255 255
486 LightCyan1 224 255 255
487 LightCyan2 209 238 238
488 LightCyan3 180 205 205
489 LightCyan4 122 139 139
490 LightGoldenrod 238 221 130
491 LightGoldenrod1 255 236 139
492 LightGoldenrod2 238 220 130
493 LightGoldenrod3 205 190 112
494 LightGoldenrod4 139 129 76
495 LightGoldenrodYellow 250 250 210
496 LightGray 211 211 211
497 LightGreen 144 238 144
498 LightGrey 211 211 211
499 LightPink 255 182 193
500 LightPink1 255 174 185
501 LightPink2 238 162 173
502 LightPink3 205 140 149
503 LightPink4 139 95 101
504 LightSalmon 255 160 122
505 LightSalmon1 255 160 122
506 LightSalmon2 238 149 114
507 LightSalmon3 205 129 98
508 LightSalmon4 139 87 66
509 LightSeaGreen 32 178 170
510 LightSkyBlue 135 206 250
511 LightSkyBlue1 176 226 255
512 LightSkyBlue2 164 211 238
513 LightSkyBlue3 141 182 205
514 LightSkyBlue4 96 123 139
515 LightSlateBlue 132 112 255
516 LightSlateGray 119 136 153
517 LightSlateGrey 119 136 153
518 LightSteelBlue 176 196 222
519 LightSteelBlue1 202 225 255
520 LightSteelBlue2 188 210 238
521 LightSteelBlue3 162 181 205
522 LightSteelBlue4 110 123 139
523 LightYellow 255 255 224
524 LightYellow1 255 255 224
525 LightYellow2 238 238 209
526 LightYellow3 205 205 180
527 LightYellow4 139 139 122
542 medium aquamarine 102 205 170
544 medium orchid 186 85 211
545 medium purple 147 112 219
546 medium sea green 60 179 113
547 medium slate blue 123 104 238
548 medium spring green 0 250 154
549 medium turquoise 72 209 204
550 medium violet red 199 21 133
551 MediumAquamarine 102 205 170
553 MediumOrchid 186 85 211
554 MediumOrchid1 224 102 255
555 MediumOrchid2 209 95 238
556 MediumOrchid3 180 82 205
557 MediumOrchid4 122 55 139
558 MediumPurple 147 112 219
559 MediumPurple1 171 130 255
560 MediumPurple2 159 121 238
561 MediumPurple3 137 104 205
562 MediumPurple4 93 71 139
563 MediumSeaGreen 60 179 113
564 MediumSlateBlue 123 104 238
565 MediumSpringGreen 0 250 154
566 MediumTurquoise 72 209 204
567 MediumVioletRed 199 21 133
568 midnight blue 25 25 112
569 MidnightBlue 25 25 112
570 mint cream 245 255 250
571 MintCream 245 255 250
572 misty rose 255 228 225
573 MistyRose 255 228 225
574 MistyRose1 255 228 225
575 MistyRose2 238 213 210
576 MistyRose3 205 183 181
577 MistyRose4 139 125 123
579 navajo white 255 222 173
580 NavajoWhite 255 222 173
581 NavajoWhite1 255 222 173
582 NavajoWhite2 238 207 161
583 NavajoWhite3 205 179 139
584 NavajoWhite4 139 121 94
591 olive drab 107 142 35
593 OliveDrab1 192 255 62
594 OliveDrab2 179 238 58
595 OliveDrab3 154 205 50
596 OliveDrab4 105 139 34
613 pale goldenrod 238 232 170
614 pale green 152 251 152
615 pale turquoise 175 238 238
616 pale violet red 219 112 147
617 PaleGoldenrod 238 232 170
618 PaleGreen 152 251 152
619 PaleGreen1 154 255 154
620 PaleGreen2 144 238 144
621 PaleGreen3 124 205 124
623 PaleTurquoise 175 238 238
624 PaleTurquoise1 187 255 255
625 PaleTurquoise2 174 238 238
626 PaleTurquoise3 150 205 205
627 PaleTurquoise4 102 139 139
628 PaleVioletRed 219 112 147
629 PaleVioletRed1 255 130 171
630 PaleVioletRed2 238 121 159
631 PaleVioletRed3 205 104 127
632 PaleVioletRed4 139 71 93
633 papaya whip 255 239 213
634 PapayaWhip 255 239 213
635 peach puff 255 218 185
636 PeachPuff 255 218 185
637 PeachPuff1 255 218 185
638 PeachPuff2 238 203 173
639 PeachPuff3 205 175 149
640 PeachPuff4 139 119 101
652 powder blue 176 224 230
653 PowderBlue 176 224 230
664 rosy brown 188 143 143
665 RosyBrown 188 143 143
666 RosyBrown1 255 193 193
667 RosyBrown2 238 180 180
668 RosyBrown3 205 155 155
669 RosyBrown4 139 105 105
670 royal blue 65 105 225
672 RoyalBlue1 72 118 255
673 RoyalBlue2 67 110 238
676 saddle brown 139 69 19
677 SaddleBrown 139 69 19
683 sandy brown 244 164 96
684 SandyBrown 244 164 96
692 seashell1 255 245 238
693 seashell2 238 229 222
694 seashell3 205 197 191
695 seashell4 139 134 130
708 slate blue 106 90 205
709 slate gray 112 128 144
710 slate grey 112 128 144
712 SlateBlue1 131 111 255
713 SlateBlue2 122 103 238
714 SlateBlue3 105 89 205
716 SlateGray 112 128 144
717 SlateGray1 198 226 255
718 SlateGray2 185 211 238
719 SlateGray3 159 182 205
720 SlateGray4 108 123 139
721 SlateGrey 112 128 144
727 spring green 0 255 127
728 SpringGreen 0 255 127
729 SpringGreen1 0 255 127
730 SpringGreen2 0 238 118
731 SpringGreen3 0 205 102
732 SpringGreen4 0 139 69
733 steel blue 70 130 180
735 SteelBlue1 99 184 255
736 SteelBlue2 92 172 238
737 SteelBlue3 79 148 205
738 SteelBlue4 54 100 139
761 violet red 208 32 144
763 VioletRed1 255 62 150
764 VioletRed2 238 58 140
765 VioletRed3 205 50 120
773 white smoke 245 245 245
774 WhiteSmoke 245 245 245
776 yellow green 154 205 50
781 YellowGreen 154 205 50
783 .SH "PORTABILITY ISSUES"
787 On macOS, the following additional system colors are available. This
788 first group contains all of the HIBrush colors available in the
789 HIToolbox library. Note that on macOS 10.14 (Mojave) and later these
790 colors are unlikely to match the color actually used for the purpose
791 suggested by the color name.
795 systemAlertBackgroundActive
796 systemAlertBackgroundInactive
797 systemAlternatePrimaryHighlightColor
798 systemAppleGuideCoachmark
799 systemBevelActiveDark
800 systemBevelActiveLight
801 systemBevelInactiveDark
802 systemBevelInactiveLight
804 systemButtonActiveDarkHighlight
805 systemButtonActiveDarkShadow
806 systemButtonActiveLightHighlight
807 systemButtonActiveLightShadow
809 systemButtonFaceActive
810 systemButtonFaceInactive
811 systemButtonFacePressed
813 systemButtonFrameActive
814 systemButtonFrameInactive
815 systemButtonInactiveDarkHighlight
816 systemButtonInactiveDarkShadow
817 systemButtonInactiveLightHighlight
818 systemButtonInactiveLightShadow
819 systemButtonPressedDarkHighlight
820 systemButtonPressedDarkShadow
821 systemButtonPressedLightHighlight
822 systemButtonPressedLightShadow
824 systemDialogBackgroundActive
825 systemDialogBackgroundInactive
826 systemDocumentWindowBackground
828 systemDrawerBackground
829 systemFinderWindowBackground
832 systemHighlightAlternate
833 systemHighlightSecondary
834 systemIconLabelBackground
835 systemIconLabelBackgroundSelected
836 systemListViewBackground
837 systemListViewColumnDivider
838 systemListViewEvenRowBackground
839 systemListViewOddRowBackground
840 systemListViewSeparator
841 systemListViewSortColumnBackground
845 systemMenuBackgroundSelected
846 systemModelessDialogBackgroundActive
847 systemModelessDialogBackgroundInactive
848 systemMovableModalBackground
849 systemNotificationWindowBackground
850 systemPopupArrowActive
851 systemPopupArrowInactive
852 systemPopupArrowPressed
853 systemPrimaryHighlightColor
854 systemScrollBarDelimiterActive
855 systemScrollBarDelimiterInactive
856 systemSecondaryHighlightColor
857 systemSelectedTabTextColor
858 systemSheetBackground
859 systemSheetBackgroundOpaque
860 systemSheetBackgroundTransparent
862 systemToolbarBackground
864 systemUtilityWindowBackgroundActive
865 systemUtilityWindowBackgroundInactive
871 Tk supports all of the NSColors in the macOS System ColorList. The
872 convention for naming these colors is that the Tk name is generated by
873 capitalizing the macOS name and adding the prefix "system". On OSX
874 10.14 (Mojave) and later many of these "semantic" colors will appear
875 differently depending on whether the NSWindow in which they are used has
876 the Aqua or DarkAqua appearance. The System ColorList differs between
877 releases of macOS and some colors, such as systemLinkColor and
878 systemControlAccentColor, are simulated on older systems which did not
879 provide them. All of the colors below are available on all supported
880 macOS releases, but newer systems will support additional colors.
883 systemControlAccentColor
884 systemControlTextColor
885 systemDisabledControlTextColor
888 systemPlaceholderTextColor
889 systemSelectedTextBackgroundColor
890 systemSelectedTextColor
892 systemTextBackgroundColor
897 The numbered systemWindowBackgroundColors below
898 are used in the \fBttk::notebook\fR and \fBttk::labelframe\fR widgets
899 to provide a contrasting background. Each numbered color constrasts
900 with its predecessor.
903 systemWindowBackgroundColor
904 systemWindowBackgroundColor1
905 systemWindowBackgroundColor2
906 systemWindowBackgroundColor3
907 systemWindowBackgroundColor4
908 systemWindowBackgroundColor5
909 systemWindowBackgroundColor6
910 systemWindowBackgroundColor7
917 On Windows, the following additional system colors are available
918 (note that the actual color values depend on the currently active OS theme):
922 system3dDarkShadow systemHighlight
923 system3dLight systemHighlightText
924 systemActiveBorder systemInactiveBorder
925 systemActiveCaption systemInactiveCaption
926 systemAppWorkspace systemInactiveCaptionText
927 systemBackground systemInfoBackground
928 systemButtonFace systemInfoText
929 systemButtonHighlight systemMenu
930 systemButtonShadow systemMenuText
931 systemButtonText systemScrollbar
932 systemCaptionText systemWindow
933 systemDisabledText systemWindowFrame
934 systemGrayText systemWindowText
938 options(n), Tk_GetColor(3)