/packages/blox/tk/colors.txt

http://github.com/MrGwen/GNU-Smalltalk · Plain Text · 254 lines · 251 code · 3 blank · 0 comment · 0 complexity · 6a6eb8f2b7a410d84f84d316e2c78e25 MD5 · raw file

  1. Here are the names of 235 colors in X11R3 (the same used by Tk and
  2. hence by Blox), together with RGB mappings (not exactly the ones used
  3. by Tk, which tries to use 48-bit color, but much like). You can freely
  4. use them instead of strings returned by #createColor:green:blue: and
  5. #createColor:magenta:yellow:.
  6. Actually, even on non-Unix platforms Tk supports X11R4 colors, hence
  7. you can append a 1, 2, 3 or 4 to most colors. Examples:
  8. - coral1 is just slightly darker than coral, coral4 is the darkest
  9. of the five;
  10. - bisque1 is the same as bisque, and bisque4 is the 'grayest' of the
  11. five;
  12. - chocolate is the same as chocolate2, chocolate1 is lighter, chocolate3
  13. and chocolate4 are darker.
  14. Also, in addition to greyNNN colors, you can use grayNNN.
  15. RED GRN BLU NAME
  16. ------------------------------------------------------
  17. 240 248 255 AliceBlue
  18. 250 235 215 AntiqueWhite
  19. 127 255 212 aquamarine
  20. 240 255 255 azure
  21. 245 245 220 beige
  22. 255 228 196 bisque
  23. 0 0 0 black
  24. 255 235 205 BlanchedAlmond
  25. 138 43 226 BlueViolet
  26. 0 0 255 blue
  27. 165 42 42 brown
  28. 222 184 135 burlywood
  29. 95 158 160 CadetBlue
  30. 127 255 0 chartreuse
  31. 210 105 30 chocolate
  32. 255 127 80 coral
  33. 100 149 237 CornflowerBlue
  34. 255 248 220 cornsilk
  35. 0 255 255 cyan
  36. 184 134 11 DarkGoldenrod
  37. 0 100 0 DarkGreen
  38. 189 183 107 DarkKhaki
  39. 85 107 47 DarkOliveGreen
  40. 255 140 0 DarkOrange
  41. 153 50 204 DarkOrchid
  42. 233 150 122 DarkSalmon
  43. 143 188 143 DarkSeaGreen
  44. 72 61 139 DarkSlateBlue
  45. 47 79 79 DarkSlateGray
  46. 0 206 209 DarkTurquoise
  47. 148 0 211 DarkViolet
  48. 255 20 147 DeepPink
  49. 0 191 255 DeepSkyBlue
  50. 105 105 105 DimGray
  51. 30 144 255 DodgerBlue
  52. 178 34 34 firebrick
  53. 255 250 240 FloralWhite
  54. 34 139 34 ForestGreen
  55. 220 220 220 gainsboro
  56. 248 248 255 GhostWhite
  57. 218 165 32 goldenrod
  58. 255 215 0 gold
  59. 173 255 47 GreenYellow
  60. 0 255 0 green
  61. 192 192 192 grey
  62. 0 0 0 grey0
  63. 3 3 3 grey1
  64. 5 5 5 grey2
  65. 8 8 8 grey3
  66. 10 10 10 grey4
  67. 13 13 13 grey5
  68. 15 15 15 grey6
  69. 18 18 18 grey7
  70. 20 20 20 grey8
  71. 23 23 23 grey9
  72. 255 255 255 grey100
  73. 26 26 26 grey10
  74. 28 28 28 grey11
  75. 31 31 31 grey12
  76. 33 33 33 grey13
  77. 36 36 36 grey14
  78. 38 38 38 grey15
  79. 41 41 41 grey16
  80. 43 43 43 grey17
  81. 46 46 46 grey18
  82. 48 48 48 grey19
  83. 51 51 51 grey20
  84. 54 54 54 grey21
  85. 56 56 56 grey22
  86. 59 59 59 grey23
  87. 61 61 61 grey24
  88. 64 64 64 grey25
  89. 66 66 66 grey26
  90. 69 69 69 grey27
  91. 71 71 71 grey28
  92. 74 74 74 grey29
  93. 77 77 77 grey30
  94. 79 79 79 grey31
  95. 82 82 82 grey32
  96. 84 84 84 grey33
  97. 87 87 87 grey34
  98. 89 89 89 grey35
  99. 92 92 92 grey36
  100. 94 94 94 grey37
  101. 97 97 97 grey38
  102. 99 99 99 grey39
  103. 102 102 102 grey40
  104. 105 105 105 grey41
  105. 107 107 107 grey42
  106. 110 110 110 grey43
  107. 112 112 112 grey44
  108. 115 115 115 grey45
  109. 117 117 117 grey46
  110. 120 120 120 grey47
  111. 122 122 122 grey48
  112. 125 125 125 grey49
  113. 127 127 127 grey50
  114. 130 130 130 grey51
  115. 133 133 133 grey52
  116. 135 135 135 grey53
  117. 138 138 138 grey54
  118. 140 140 140 grey55
  119. 143 143 143 grey56
  120. 145 145 145 grey57
  121. 148 148 148 grey58
  122. 150 150 150 grey59
  123. 153 153 153 grey60
  124. 156 156 156 grey61
  125. 158 158 158 grey62
  126. 161 161 161 grey63
  127. 163 163 163 grey64
  128. 166 166 166 grey65
  129. 168 168 168 grey66
  130. 171 171 171 grey67
  131. 173 173 173 grey68
  132. 176 176 176 grey69
  133. 179 179 179 grey70
  134. 181 181 181 grey71
  135. 184 184 184 grey72
  136. 186 186 186 grey73
  137. 189 189 189 grey74
  138. 191 191 191 grey75
  139. 194 194 194 grey76
  140. 196 196 196 grey77
  141. 199 199 199 grey78
  142. 201 201 201 grey79
  143. 204 204 204 grey80
  144. 207 207 207 grey81
  145. 209 209 209 grey82
  146. 212 212 212 grey83
  147. 214 214 214 grey84
  148. 217 217 217 grey85
  149. 219 219 219 grey86
  150. 222 222 222 grey87
  151. 224 224 224 grey88
  152. 227 227 227 grey89
  153. 229 229 229 grey90
  154. 232 232 232 grey91
  155. 235 235 235 grey92
  156. 237 237 237 grey93
  157. 240 240 240 grey94
  158. 242 242 242 grey95
  159. 245 245 245 grey96
  160. 247 247 247 grey97
  161. 250 250 250 grey98
  162. 252 252 252 grey99
  163. 240 255 240 honeydew
  164. 255 105 180 HotPink
  165. 205 92 92 IndianRed
  166. 255 255 240 ivory
  167. 240 230 140 khaki
  168. 255 240 245 LavenderBlush
  169. 230 230 250 lavender
  170. 124 252 0 LawnGreen
  171. 255 250 205 LemonChiffon
  172. 173 216 230 LightBlue
  173. 240 128 128 LightCoral
  174. 224 255 255 LightCyan
  175. 250 250 210 LightGoldenrodYellow
  176. 238 221 130 LightGoldenrod
  177. 211 211 211 LightGrey
  178. 255 182 193 LightPink
  179. 255 160 122 LightSalmon
  180. 32 178 170 LightSeaGreen
  181. 135 206 250 LightSkyBlue
  182. 132 112 255 LightSlateBlue
  183. 119 136 153 LightSlateGrey
  184. 176 196 222 LightSteelBlue
  185. 255 255 224 LightYellow
  186. 50 205 50 LimeGreen
  187. 250 240 230 linen
  188. 255 0 255 magenta
  189. 176 48 96 maroon
  190. 102 205 170 MediumAquamarine
  191. 0 0 205 MediumBlue
  192. 186 85 211 MediumOrchid
  193. 147 112 219 MediumPurple
  194. 60 179 113 MediumSeaGreen
  195. 123 104 238 MediumSlateBlue
  196. 0 250 154 MediumSpringGreen
  197. 72 209 204 MediumTurquoise
  198. 199 21 133 MediumVioletRed
  199. 25 25 112 MidnightBlue
  200. 245 255 250 MintCream
  201. 255 228 225 MistyRose
  202. 255 228 181 moccasin
  203. 255 222 173 NavajoWhite
  204. 0 0 128 NavyBlue
  205. 253 245 230 OldLace
  206. 107 142 35 OliveDrab
  207. 255 69 0 OrangeRed
  208. 255 165 0 orange
  209. 218 112 214 orchid
  210. 238 232 170 PaleGoldenrod
  211. 152 251 152 PaleGreen
  212. 175 238 238 PaleTurquoise
  213. 219 112 147 PaleVioletRed
  214. 255 239 213 PapayaWhip
  215. 255 218 185 PeachPuff
  216. 205 133 63 peru
  217. 255 192 203 pink
  218. 221 160 221 plum
  219. 176 224 230 PowderBlue
  220. 128 128 0 PureDarkBrown
  221. 0 128 128 PureDarkCyan
  222. 0 128 0 PureDarkGreen
  223. 128 128 128 PureDarkGrey
  224. 128 0 128 PureDarkMagenta
  225. 128 0 0 PureDarkRed
  226. 160 32 240 purple
  227. 255 0 0 red
  228. 188 143 143 RosyBrown
  229. 65 105 225 RoyalBlue
  230. 139 69 19 SaddleBrown
  231. 250 128 114 salmon
  232. 244 164 96 SandyBrown
  233. 46 139 87 SeaGreen
  234. 255 245 238 seashell
  235. 160 82 45 sienna
  236. 135 206 235 SkyBlue
  237. 106 90 205 SlateBlue
  238. 112 128 144 SlateGray
  239. 255 250 250 snow
  240. 0 255 127 SpringGreen
  241. 70 130 180 SteelBlue
  242. 210 180 140 tan
  243. 216 191 216 thistle
  244. 255 99 71 tomato
  245. 208 32 144 VioletRed
  246. 238 130 238 violet
  247. 245 222 179 wheat
  248. 245 245 245 WhiteSmoke
  249. 255 255 255 white
  250. 154 205 50 YellowGreen
  251. 255 255 0 yellow