StandardColor.cs 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311
  1. namespace Terminal.Gui.Drawing;
  2. /// <summary>
  3. /// Represents standard color names with their RGB values. Derived from the W3C color names, but includes other common
  4. /// names.
  5. /// </summary>
  6. /// <remarks>
  7. /// Based on https://www.w3schools.com/colors/color_tryit.asp page.
  8. /// </remarks>
  9. public enum StandardColor
  10. {
  11. /// <summary>
  12. /// Alice blue RGB(240, 248, 255).
  13. /// <para>
  14. /// A very pale shade of blue, almost white.
  15. /// </para>
  16. /// </summary>
  17. AliceBlue = 0xF0F8FF,
  18. /// <summary>
  19. /// Antique white RGB(250, 235, 215).
  20. /// <para>
  21. /// A light beige color with a hint of orange.c
  22. /// </para>
  23. /// </summary>
  24. AntiqueWhite = 0xFAEBD7,
  25. /// <summary>
  26. /// Amber Phosphor RGB(255, 191, 0).
  27. /// <para>
  28. /// Matches the Amber Phosphor color used on classic terminals.
  29. /// </para>
  30. /// </summary>
  31. AmberPhosphor = 0xFFBF00,
  32. /// <summary>
  33. /// Aqua RGB(0, 255, 255).
  34. /// <para>
  35. /// A bright cyan color, often associated with water.
  36. /// </para>
  37. /// </summary>
  38. Aqua = 0x00FFFF,
  39. /// <summary>
  40. /// Aquamarine RGB(127, 255, 212).
  41. /// <para>
  42. /// A light greenish-blue color, resembling the gemstone aquamarine.
  43. /// </para>
  44. /// </summary>
  45. Aquamarine = 0x7FFFD4,
  46. /// <summary>
  47. /// Azure RGB(240, 255, 255).
  48. /// <para>
  49. /// A pale cyan color, resembling the color of the sky on a clear day.
  50. /// </para>
  51. /// </summary>
  52. Azure = 0xF0FFFF,
  53. /// <summary>
  54. /// Beige RGB(245, 245, 220).
  55. /// <para>
  56. /// A pale sandy yellow color, often used in interior design.
  57. /// </para>
  58. /// </summary>
  59. Beige = 0xF5F5DC,
  60. /// <summary>
  61. /// Bisque RGB(255, 228, 196).
  62. /// <para>
  63. /// A pale orange color, resembling the color of bisque pottery.
  64. /// </para>
  65. /// </summary>
  66. Bisque = 0xFFE4C4,
  67. /// <summary>
  68. /// Black RGB(0, 0, 0).
  69. /// <para>
  70. /// The darkest color, representing the absence of light.
  71. /// </para>
  72. /// </summary>
  73. Black = 0x000000,
  74. /// <summary>
  75. /// Blanched almond RGB(255, 235, 205).
  76. /// <para>
  77. /// A pale yellowish-orange color, resembling blanched almonds.
  78. /// </para>
  79. /// </summary>
  80. BlanchedAlmond = 0xFFEBCD,
  81. /// <summary>
  82. /// Blue RGB(0, 0, 255).
  83. /// <para>
  84. /// A primary color, often associated with the sky and the sea.
  85. /// </para>
  86. /// </summary>
  87. Blue = 0x0000FF,
  88. /// <summary>
  89. /// Blue violet RGB(138, 43, 226).
  90. /// <para>
  91. /// A deep purple color with a hint of blue.
  92. /// </para>
  93. /// </summary>
  94. BlueViolet = 0x8A2BE2,
  95. /// <summary>
  96. /// Brown RGB(165, 42, 42).
  97. /// <para>
  98. /// A dark reddish-brown color, resembling the color of wood or soil.
  99. /// </para>
  100. /// </summary>
  101. Brown = 0xA52A2A,
  102. /// <summary>
  103. /// Burly wood RGB(222, 184, 135).
  104. /// <para>
  105. /// A light brown color, resembling the color of burly wood.
  106. /// </para>
  107. /// </summary>
  108. BurlyWood = 0xDEB887,
  109. /// <summary>
  110. /// Cadet blue RGB(95, 158, 160).
  111. /// <para>
  112. /// A light bluish-green color, first used as a color name in English in 1892.
  113. /// </para>
  114. /// </summary>
  115. CadetBlue = 0x5F9EA0,
  116. /// <summary>
  117. /// Charcoal RGB(54, 69, 79).
  118. /// <para>
  119. /// A dark grayish-black color, resembling burnt wood.
  120. /// </para>
  121. /// </summary>
  122. Charcoal = 0x36454F,
  123. /// <summary>
  124. /// Cornflower blue RGB(100, 149, 237).
  125. /// <para>
  126. /// A medium blue color, resembling the cornflower plant.
  127. /// </para>
  128. /// </summary>
  129. CornflowerBlue = 0x6495ED,
  130. /// <summary>
  131. /// Cornsilk RGB(255, 248, 220).
  132. /// <para>
  133. /// A pale yellow color, resembling the silky threads of corn.
  134. /// </para>
  135. /// </summary>
  136. Cornsilk = 0xFFF8DC,
  137. /// <summary>
  138. /// Crimson RGB(220, 20, 60).
  139. /// <para>
  140. /// A deep red color, resembling the color of blood.
  141. /// </para>
  142. /// </summary>
  143. Crimson = 0xDC143C,
  144. /// <summary>
  145. /// Cyan RGB(0, 255, 255).
  146. /// <para>
  147. /// Same as <see cref="Aqua"/>.
  148. /// </para>
  149. /// </summary>
  150. Cyan = Aqua,
  151. /// <summary>
  152. /// Dark blue RGB(0, 0, 139).
  153. /// <para>
  154. /// A very dark shade of blue.
  155. /// </para>
  156. /// </summary>
  157. DarkBlue = 0x00008B,
  158. /// <summary>
  159. /// Dark cyan RGB(0, 139, 139).
  160. /// <para>
  161. /// A dark shade of cyan.
  162. /// </para>
  163. /// </summary>
  164. DarkCyan = 0x008B8B,
  165. /// <summary>
  166. /// Dark goldenrod RGB(184, 134, 11).
  167. /// <para>
  168. /// A dark yellowish-brown color.
  169. /// </para>
  170. /// </summary>
  171. DarkGoldenrod = 0xB8860B,
  172. /// <summary>
  173. /// Dark gray RGB(169, 169, 169).
  174. /// <para>
  175. /// A medium-dark shade of gray.
  176. /// </para>
  177. /// </summary>
  178. DarkGray = 0xA9A9A9,
  179. /// <summary>
  180. /// Dark green RGB(0, 100, 0).
  181. /// <para>
  182. /// A dark shade of green.
  183. /// </para>
  184. /// </summary>
  185. DarkGreen = 0x006400,
  186. /// <summary>
  187. /// Dark grey RGB(169, 169, 169).
  188. /// <para>
  189. /// Same as <see cref="DarkGray"/>.
  190. /// </para>
  191. /// </summary>
  192. DarkGrey = DarkGray,
  193. /// <summary>
  194. /// Dark khaki RGB(189, 183, 107).
  195. /// <para>
  196. /// A dark yellowish-brown color.
  197. /// </para>
  198. /// </summary>
  199. DarkKhaki = 0xBDB76B,
  200. /// <summary>
  201. /// Dark magenta RGB(139, 0, 139).
  202. /// <para>
  203. /// A dark shade of magenta.
  204. /// </para>
  205. /// </summary>
  206. DarkMagenta = 0x8B008B,
  207. /// <summary>
  208. /// Dark olive green RGB(85, 107, 47).
  209. /// <para>
  210. /// A dark yellowish-green color.
  211. /// </para>
  212. /// </summary>
  213. DarkOliveGreen = 0x556B2F,
  214. /// <summary>
  215. /// Dark orange RGB(255, 140, 0).
  216. /// <para>
  217. /// A dark shade of orange.
  218. /// </para>
  219. /// </summary>
  220. DarkOrange = 0xFF8C00,
  221. /// <summary>
  222. /// Dark orchid RGB(153, 50, 204).
  223. /// <para>
  224. /// A dark purple color with a hint of blue.
  225. /// </para>
  226. /// </summary>
  227. DarkOrchid = 0x9932CC,
  228. /// <summary>
  229. /// Dark red RGB(139, 0, 0).
  230. /// <para>
  231. /// A dark shade of red.
  232. /// </para>
  233. /// </summary>
  234. DarkRed = 0x8B0000,
  235. /// <summary>
  236. /// Dark salmon RGB(233, 150, 122).
  237. /// <para>
  238. /// A dark pinkish-orange color.
  239. /// </para>
  240. /// </summary>
  241. DarkSalmon = 0xE9967A,
  242. /// <summary>
  243. /// Dark sea green RGB(143, 188, 143).
  244. /// <para>
  245. /// A dark shade of sea green.
  246. /// </para>
  247. /// </summary>
  248. DarkSeaGreen = 0x8FBC8F,
  249. /// <summary>
  250. /// Dark slate blue RGB(72, 61, 139).
  251. /// <para>
  252. /// A dark blue color with a hint of gray.
  253. /// </para>
  254. /// </summary>
  255. DarkSlateBlue = 0x483D8B,
  256. /// <summary>
  257. /// Dark slate gray RGB(47, 79, 79).
  258. /// <para>
  259. /// A very dark gray color with a hint of green.
  260. /// </para>
  261. /// </summary>
  262. DarkSlateGray = 0x2F4F4F,
  263. /// <summary>
  264. /// Dark slate grey RGB(47, 79, 79).
  265. /// <para>
  266. /// Same as <see cref="DarkSlateGray"/>.
  267. /// </para>
  268. /// </summary>
  269. DarkSlateGrey = DarkSlateGray,
  270. /// <summary>
  271. /// Dark turquoise RGB(0, 206, 209).
  272. /// <para>
  273. /// A dark shade of turquoise.
  274. /// </para>
  275. /// </summary>
  276. DarkTurquoise = 0x00CED1,
  277. /// <summary>
  278. /// Dark violet RGB(148, 0, 211).
  279. /// <para>
  280. /// A dark shade of violet.
  281. /// </para>
  282. /// </summary>
  283. DarkViolet = 0x9400D3,
  284. /// <summary>
  285. /// Deep pink RGB(255, 20, 147).
  286. /// <para>
  287. /// A bright and intense pink color.
  288. /// </para>
  289. /// </summary>
  290. DeepPink = 0xFF1493,
  291. /// <summary>
  292. /// Deep sky blue RGB(0, 191, 255).
  293. /// <para>
  294. /// A bright and intense sky blue color.
  295. /// </para>
  296. /// </summary>
  297. DeepSkyBlue = 0x00BFFF,
  298. /// <summary>
  299. /// Dim gray RGB(105, 105, 105).
  300. /// <para>
  301. /// A medium-dark shade of gray.
  302. /// </para>
  303. /// </summary>
  304. DimGray = 0x696969,
  305. /// <summary>
  306. /// Dim grey RGB(105, 105, 105).
  307. /// <para>
  308. /// Same as <see cref="DimGray"/>.
  309. /// </para>
  310. /// </summary>
  311. DimGrey = DimGray,
  312. /// <summary>
  313. /// Dodger blue RGB(30, 144, 255).
  314. /// <para>
  315. /// A bright and vibrant blue color.
  316. /// </para>
  317. /// </summary>
  318. DodgerBlue = 0x1E90FF,
  319. /// <summary>
  320. /// Ebony RGB(85, 93, 80).
  321. /// <para>
  322. /// A very dark gray color with a slight greenish tint.
  323. /// </para>
  324. /// </summary>
  325. Ebony = 0x555D50,
  326. /// <summary>
  327. /// Fire brick RGB(178, 34, 34).
  328. /// <para>
  329. /// A dark reddish-brown color, resembling bricks.
  330. /// </para>
  331. /// </summary>
  332. FireBrick = 0xB22222,
  333. /// <summary>
  334. /// Floral white RGB(255, 250, 240).
  335. /// <para>
  336. /// A very pale shade of white with a hint of orange.
  337. /// </para>
  338. /// </summary>
  339. FloralWhite = 0xFFFAF0,
  340. /// <summary>
  341. /// Fluorescent Orange - Same as Amber Phosphor RGB(255, 191, 0).
  342. /// <para>
  343. /// Matches the Amber Phosphor color used on classic terminals.
  344. /// </para>
  345. /// </summary>
  346. FluorescentOrange = AmberPhosphor,
  347. /// <summary>
  348. /// Forest green RGB(34, 139, 34).
  349. /// <para>
  350. /// A dark green color, resembling the color of a forest.
  351. /// </para>
  352. /// </summary>
  353. ForestGreen = 0x228B22,
  354. /// <summary>
  355. /// Fuchsia RGB(255, 0, 255).
  356. /// <para>
  357. /// A bright and vibrant magenta color.
  358. /// </para>
  359. /// </summary>
  360. Fuchsia = 0xFF00FF,
  361. /// <summary>
  362. /// Gainsboro RGB(220, 220, 220).
  363. /// <para>
  364. /// A very light gray color.
  365. /// </para>
  366. /// </summary>
  367. Gainsboro = 0xDCDCDC,
  368. /// <summary>
  369. /// Ghost white RGB(248, 248, 255).
  370. /// <para>
  371. /// A very pale shade of white with a hint of blue.
  372. /// </para>
  373. /// </summary>
  374. GhostWhite = 0xF8F8FF,
  375. /// <summary>
  376. /// Gold RGB(255, 215, 0).
  377. /// <para>
  378. /// A bright yellow color, resembling gold.
  379. /// </para>
  380. /// </summary>
  381. Gold = 0xFFD700,
  382. /// <summary>
  383. /// Goldenrod RGB(218, 165, 32).
  384. /// <para>
  385. /// A dark yellow color with a hint of brown.
  386. /// </para>
  387. /// </summary>
  388. Goldenrod = 0xDAA520,
  389. /// <summary>
  390. /// Gray RGB(128, 128, 128).
  391. /// <para>
  392. /// A medium shade of gray.
  393. /// </para>
  394. /// </summary>
  395. Gray = 0x808080,
  396. /// <summary>
  397. /// Green RGB(0, 128, 0).
  398. /// <para>
  399. /// A medium shade of green.
  400. /// </para>
  401. /// </summary>
  402. Green = 0x008000,
  403. /// <summary>
  404. /// Green Phosphor RGB(0, 255, 102).
  405. /// <para>
  406. /// Matches the Green Phosphor color used on classic terminals.
  407. /// </para>
  408. /// </summary>
  409. GreenPhosphor = 0x00FF66,
  410. /// <summary>
  411. /// Green yellow RGB(173, 255, 47).
  412. /// <para>
  413. /// A bright yellowish-green color.
  414. /// </para>
  415. /// </summary>
  416. GreenYellow = 0xADFF2F,
  417. /// <summary>
  418. /// Grey RGB(128, 128, 128).
  419. /// <para>
  420. /// Same as <see cref="Gray"/>.
  421. /// </para>
  422. /// </summary>
  423. Grey = Gray,
  424. /// <summary>
  425. /// Guppie Green - Same as Green Phosphor RGB(0, 255, 102).
  426. /// <para>
  427. /// Matches the Green Phosphor color used on classic terminals.
  428. /// </para>
  429. /// </summary>
  430. GuppieGreen = GreenYellow,
  431. /// <summary>
  432. /// Honey dew RGB(240, 255, 240).
  433. /// <para>
  434. /// A very pale greenish-white color.
  435. /// </para>
  436. /// </summary>
  437. HoneyDew = 0xF0FFF0,
  438. /// <summary>
  439. /// Hot pink RGB(255, 105, 180).
  440. /// <para>
  441. /// A bright and vibrant pink color.
  442. /// </para>
  443. /// </summary>
  444. HotPink = 0xFF69B4,
  445. /// <summary>
  446. /// Indian red RGB(205, 92, 92).
  447. /// <para>
  448. /// A dark reddish-brown color.
  449. /// </para>
  450. /// </summary>
  451. IndianRed = 0xCD5C5C,
  452. /// <summary>
  453. /// Indigo RGB(75, 0, 130).
  454. /// <para>
  455. /// A dark blue-purple color.
  456. /// </para>
  457. /// </summary>
  458. Indigo = 0x4B0082,
  459. /// <summary>
  460. /// Ivory RGB(255, 255, 240).
  461. /// <para>
  462. /// A very pale yellowish-white color.
  463. /// </para>
  464. /// </summary>
  465. Ivory = 0xFFFFF0,
  466. /// <summary>
  467. /// Jet RGB(52, 52, 52).
  468. /// <para>
  469. /// A very dark gray, often used as a near-black.
  470. /// </para>
  471. /// </summary>
  472. Jet = 0x343434,
  473. /// <summary>
  474. /// Khaki RGB(240, 230, 140).
  475. /// <para>
  476. /// A pale yellowish-brown color.
  477. /// </para>
  478. /// </summary>
  479. Khaki = 0xF0E68C,
  480. /// <summary>
  481. /// Lavender RGB(230, 230, 250).
  482. /// <para>
  483. /// A pale purple color, resembling the lavender flower.
  484. /// </para>
  485. /// </summary>
  486. Lavender = 0xE6E6FA,
  487. /// <summary>
  488. /// Lavender blush RGB(255, 240, 245).
  489. /// <para>
  490. /// A very pale pinkish-white color.
  491. /// </para>
  492. /// </summary>
  493. LavenderBlush = 0xFFF0F5,
  494. /// <summary>
  495. /// Lawn green RGB(124, 252, 0).
  496. /// <para>
  497. /// A bright green color, resembling freshly cut grass.
  498. /// </para>
  499. /// </summary>
  500. LawnGreen = 0x7CFC00,
  501. /// <summary>
  502. /// Lemon chiffon RGB(255, 250, 205).
  503. /// <para>
  504. /// A pale yellow color, resembling lemon chiffon cake.
  505. /// </para>
  506. /// </summary>
  507. LemonChiffon = 0xFFFACD,
  508. /// <summary>
  509. /// Light blue RGB(173, 216, 230).
  510. /// <para>
  511. /// A pale shade of blue.
  512. /// </para>
  513. /// </summary>
  514. LightBlue = 0xADD8E6,
  515. /// <summary>
  516. /// Light coral RGB(240, 128, 128).
  517. /// <para>
  518. /// A pale pinkish-orange color.
  519. /// </para>
  520. /// </summary>
  521. LightCoral = 0xF08080,
  522. /// <summary>
  523. /// Light cyan RGB(224, 255, 255).
  524. /// <para>
  525. /// A pale shade of cyan.
  526. /// </para>
  527. /// </summary>
  528. LightCyan = 0xE0FFFF,
  529. /// <summary>
  530. /// Light goldenrod yellow RGB(250, 250, 210).
  531. /// <para>
  532. /// A pale yellow color with a hint of gold.
  533. /// </para>
  534. /// </summary>
  535. LightGoldenrodYellow = 0xFAFAD2,
  536. /// <summary>
  537. /// Light gray RGB(211, 211, 211).
  538. /// <para>
  539. /// A pale shade of gray.
  540. /// </para>
  541. /// </summary>
  542. LightGray = 0xD3D3D3,
  543. /// <summary>
  544. /// Light green RGB(144, 238, 144).
  545. /// <para>
  546. /// A pale shade of green.
  547. /// </para>
  548. /// </summary>
  549. LightGreen = 0x90EE90,
  550. /// <summary>
  551. /// Light grey RGB(211, 211, 211).
  552. /// <para>
  553. /// Same as <see cref="LightGray"/>.
  554. /// </para>
  555. /// </summary>
  556. LightGrey = LightGray,
  557. /// <summary>
  558. /// Light pink RGB(255, 182, 193).
  559. /// <para>
  560. /// A pale shade of pink.
  561. /// </para>
  562. /// </summary>
  563. LightPink = 0xFFB6C1,
  564. /// <summary>
  565. /// Light salmon RGB(255, 160, 122).
  566. /// <para>
  567. /// A pale pinkish-orange color.
  568. /// </para>
  569. /// </summary>
  570. LightSalmon = 0xFFA07A,
  571. /// <summary>
  572. /// Light sea green RGB(32, 178, 170).
  573. /// <para>
  574. /// A pale shade of sea green.
  575. /// </para>
  576. /// </summary>
  577. LightSeaGreen = 0x20B2AA,
  578. /// <summary>
  579. /// Light sky blue RGB(135, 206, 250).
  580. /// <para>
  581. /// A pale shade of sky blue.
  582. /// </para>
  583. /// </summary>
  584. LightSkyBlue = 0x87CEFA,
  585. /// <summary>
  586. /// Light slate gray RGB(119, 136, 153).
  587. /// <para>
  588. /// A pale shade of slate gray.
  589. /// </para>
  590. /// </summary>
  591. LightSlateGray = 0x778899,
  592. /// <summary>
  593. /// Light slate grey RGB(119, 136, 153).
  594. /// <para>
  595. /// Same as <see cref="LightSlateGray"/>.
  596. /// </para>
  597. /// </summary>
  598. LightSlateGrey = LightSlateGray,
  599. /// <summary>
  600. /// Light steel blue RGB(176, 196, 222).
  601. /// <para>
  602. /// A pale shade of steel blue.
  603. /// </para>
  604. /// </summary>
  605. LightSteelBlue = 0xB0C4DE,
  606. /// <summary>
  607. /// Light yellow RGB(255, 255, 224).
  608. /// <para>
  609. /// A pale shade of yellow.
  610. /// </para>
  611. /// </summary>
  612. LightYellow = 0xFFFFE0,
  613. /// <summary>
  614. /// Lime RGB(0, 255, 0).
  615. /// <para>
  616. /// A bright green color.
  617. /// </para>
  618. /// </summary>
  619. Lime = 0x00FF00,
  620. /// <summary>
  621. /// Lime green RGB(50, 205, 50).
  622. /// <para>
  623. /// A bright green color with a hint of yellow.
  624. /// </para>
  625. /// </summary>
  626. LimeGreen = 0x32CD32,
  627. /// <summary>
  628. /// Linen RGB(250, 240, 230).
  629. /// <para>
  630. /// A pale beige color, resembling linen fabric.
  631. /// </para>
  632. /// </summary>
  633. Linen = 0xFAF0E6,
  634. /// <summary>
  635. /// Magenta RGB(255, 0, 255).
  636. /// <para>
  637. /// A bright and vibrant pinkish-purple color.
  638. /// </para>
  639. /// </summary>
  640. Magenta = 0xFF00FF,
  641. /// <summary>
  642. /// Maroon RGB(128, 0, 0).
  643. /// <para>
  644. /// A dark reddish-brown color.
  645. /// </para>
  646. /// </summary>
  647. Maroon = 0x800000,
  648. /// <summary>
  649. /// Medium aqua marine RGB(102, 205, 170).
  650. /// <para>
  651. /// A medium shade of greenish-blue.
  652. /// </para>
  653. /// </summary>
  654. MediumAquaMarine = 0x66CDAA,
  655. /// <summary>
  656. /// Medium blue RGB(0, 0, 205).
  657. /// <para>
  658. /// A medium shade of blue.
  659. /// </para>
  660. /// </summary>
  661. MediumBlue = 0x0000CD,
  662. /// <summary>
  663. /// Medium orchid RGB(186, 85, 211).
  664. /// <para>
  665. /// A medium shade of purple with a hint of pink.
  666. /// </para>
  667. /// </summary>
  668. MediumOrchid = 0xBA55D3,
  669. /// <summary>
  670. /// Medium purple RGB(147, 112, 219).
  671. /// <para>
  672. /// A medium shade of purple.
  673. /// </para>
  674. /// </summary>
  675. MediumPurple = 0x9370DB,
  676. /// <summary>
  677. /// Medium sea green RGB(60, 179, 113).
  678. /// <para>
  679. /// A medium shade of sea green.
  680. /// </para>
  681. /// </summary>
  682. MediumSeaGreen = 0x3CB371,
  683. /// <summary>
  684. /// Medium slate blue RGB(123, 104, 238).
  685. /// <para>
  686. /// A medium shade of slate blue.
  687. /// </para>
  688. /// </summary>
  689. MediumSlateBlue = 0x7B68EE,
  690. /// <summary>
  691. /// Medium spring green RGB(0, 250, 154).
  692. /// <para>
  693. /// A medium shade of spring green.
  694. /// </para>
  695. /// </summary>
  696. MediumSpringGreen = 0x00FA9A,
  697. /// <summary>
  698. /// Medium turquoise RGB(72, 209, 204).
  699. /// <para>
  700. /// A medium shade of turquoise.
  701. /// </para>
  702. /// </summary>
  703. MediumTurquoise = 0x48D1CC,
  704. /// <summary>
  705. /// Medium violet red RGB(199, 21, 133).
  706. /// <para>
  707. /// A medium shade of violet-red.
  708. /// </para>
  709. /// </summary>
  710. MediumVioletRed = 0xC71585,
  711. /// <summary>
  712. /// Midnight blue RGB(25, 25, 112).
  713. /// <para>
  714. /// A very dark shade of blue.
  715. /// </para>
  716. /// </summary>
  717. MidnightBlue = 0x191970,
  718. /// <summary>
  719. /// Mint cream RGB(245, 255, 250).
  720. /// <para>
  721. /// A very pale greenish-white color.
  722. /// </para>
  723. /// </summary>
  724. MintCream = 0xF5FFFA,
  725. /// <summary>
  726. /// Misty rose RGB(255, 228, 225).
  727. /// <para>
  728. /// A very pale pinkish-white color.
  729. /// </para>
  730. /// </summary>
  731. MistyRose = 0xFFE4E1,
  732. /// <summary>
  733. /// Moccasin RGB(255, 228, 181).
  734. /// <para>
  735. /// A pale orange color, resembling moccasin leather.
  736. /// </para>
  737. /// </summary>
  738. Moccasin = 0xFFE4B5,
  739. /// <summary>
  740. /// Navajo white RGB(255, 222, 173).
  741. /// <para>
  742. /// A pale orange color, resembling Navajo pottery.
  743. /// </para>
  744. /// </summary>
  745. NavajoWhite = 0xFFDEAD,
  746. /// <summary>
  747. /// Navy RGB(0, 0, 128).
  748. /// <para>
  749. /// A very dark shade of blue.
  750. /// </para>
  751. /// </summary>
  752. Navy = 0x000080,
  753. /// <summary>
  754. /// Old lace RGB(253, 245, 230).
  755. /// <para>
  756. /// A very pale beige color, resembling old lace fabric.
  757. /// </para>
  758. /// </summary>
  759. OldLace = 0xFDF5E6,
  760. /// <summary>
  761. /// Olive RGB(128, 128, 0).
  762. /// <para>
  763. /// A dark yellowish-green color.
  764. /// </para>
  765. /// </summary>
  766. Olive = 0x808000,
  767. /// <summary>
  768. /// Olive drab RGB(107, 142, 35).
  769. /// <para>
  770. /// A dark yellowish-green color, resembling olive drab fabric.
  771. /// </para>
  772. /// </summary>
  773. OliveDrab = 0x6B8E23,
  774. /// <summary>
  775. /// Onyx RGB(53, 56, 57).
  776. /// <para>
  777. /// A dark grayish-black color, resembling the onyx gemstone.
  778. /// </para>
  779. /// </summary>
  780. Onyx = 0x353839,
  781. /// <summary>
  782. /// Orange RGB(255, 165, 0).
  783. /// <para>
  784. /// A bright orange color.
  785. /// </para>
  786. /// </summary>
  787. Orange = 0xFFA500,
  788. /// <summary>
  789. /// Orange red RGB(255, 69, 0).
  790. /// <para>
  791. /// A bright reddish-orange color.
  792. /// </para>
  793. /// </summary>
  794. OrangeRed = 0xFF4500,
  795. /// <summary>
  796. /// Orchid RGB(218, 112, 214).
  797. /// <para>
  798. /// A pale purple color with a hint of pink.
  799. /// </para>
  800. /// </summary>
  801. Orchid = 0xDA70D6,
  802. /// <summary>
  803. /// Outer space RGB(65, 74, 76).
  804. /// <para>
  805. /// A dark gray color with a bluish tint, resembling the color of outer space.
  806. /// </para>
  807. /// </summary>
  808. OuterSpace = 0x414A4C,
  809. /// <summary>
  810. /// Pale goldenrod RGB(238, 232, 170).
  811. /// <para>
  812. /// A pale yellow color with a hint of gold.
  813. /// </para>
  814. /// </summary>
  815. PaleGoldenrod = 0xEEE8AA,
  816. /// <summary>
  817. /// Pale green RGB(152, 251, 152).
  818. /// <para>
  819. /// A pale shade of green.
  820. /// </para>
  821. /// </summary>
  822. PaleGreen = 0x98FB98,
  823. /// <summary>
  824. /// Pale turquoise RGB(175, 238, 238).
  825. /// <para>
  826. /// A pale shade of turquoise.
  827. /// </para>
  828. /// </summary>
  829. PaleTurquoise = 0xAFEEEE,
  830. /// <summary>
  831. /// Pale violet red RGB(219, 112, 147).
  832. /// <para>
  833. /// A pale shade of violet-red.
  834. /// </para>
  835. /// </summary>
  836. PaleVioletRed = 0xDB7093,
  837. /// <summary>
  838. /// Papaya whip RGB(255, 239, 213).
  839. /// <para>
  840. /// A pale orange color, resembling papaya fruit.
  841. /// </para>
  842. /// </summary>
  843. PapayaWhip = 0xFFEFD5,
  844. /// <summary>
  845. /// Peach puff RGB(255, 218, 185).
  846. /// <para>
  847. /// A pale orange color, resembling peach skin.
  848. /// </para>
  849. /// </summary>
  850. PeachPuff = 0xFFDAB9,
  851. /// <summary>
  852. /// Peru RGB(205, 133, 63).
  853. /// <para>
  854. /// A dark orange-brown color.
  855. /// </para>
  856. /// </summary>
  857. Peru = 0xCD853F,
  858. /// <summary>
  859. /// Pink RGB(255, 192, 203).
  860. /// <para>
  861. /// A pale shade of pink.
  862. /// </para>
  863. /// </summary>
  864. Pink = 0xFFC0CB,
  865. /// <summary>
  866. /// Plum RGB(221, 160, 221).
  867. /// <para>
  868. /// A pale purple color.
  869. /// </para>
  870. /// </summary>
  871. Plum = 0xDDA0DD,
  872. /// <summary>
  873. /// Powder blue RGB(176, 224, 230).
  874. /// <para>
  875. /// A pale shade of blue.
  876. /// </para>
  877. /// </summary>
  878. PowderBlue = 0xB0E0E6,
  879. /// <summary>
  880. /// Purple RGB(128, 0, 128).
  881. /// <para>
  882. /// A dark shade of purple.
  883. /// </para>
  884. /// </summary>
  885. Purple = 0x800080,
  886. /// <summary>
  887. /// Raisin black RGB(36, 33, 36).
  888. /// <para>
  889. /// A very dark grayish-black color, resembling the color of raisins.
  890. /// </para>
  891. /// </summary>
  892. RaisinBlack = 0x242124,
  893. /// <summary>
  894. /// Rebecca purple RGB(102, 51, 153).
  895. /// <para>
  896. /// A medium-dark shade of purple.
  897. /// </para>
  898. /// </summary>
  899. RebeccaPurple = 0x663399,
  900. /// <summary>
  901. /// Red RGB(255, 0, 0).
  902. /// <para>
  903. /// A bright red color.
  904. /// </para>
  905. /// </summary>
  906. Red = 0xFF0000,
  907. /// <summary>
  908. /// Rosy brown RGB(188, 143, 143).
  909. /// <para>
  910. /// A pale reddish-brown color.
  911. /// </para>
  912. /// </summary>
  913. RosyBrown = 0xBC8F8F,
  914. /// <summary>
  915. /// Royal blue RGB(65, 105, 225).
  916. /// <para>
  917. /// A medium shade of blue.
  918. /// </para>
  919. /// </summary>
  920. RoyalBlue = 0x4169E1,
  921. /// <summary>
  922. /// Saddle brown RGB(139, 69, 19).
  923. /// <para>
  924. /// A dark reddish-brown color.
  925. /// </para>
  926. /// </summary>
  927. SaddleBrown = 0x8B4513,
  928. /// <summary>
  929. /// Salmon RGB(250, 128, 114).
  930. /// <para>
  931. /// A pale pinkish-orange color.
  932. /// </para>
  933. /// </summary>
  934. Salmon = 0xFA8072,
  935. /// <summary>
  936. /// Sandy brown RGB(244, 164, 96).
  937. /// <para>
  938. /// A pale orange-brown color.
  939. /// </para>
  940. /// </summary>
  941. SandyBrown = 0xF4A460,
  942. /// <summary>
  943. /// Sea green RGB(46, 139, 87).
  944. /// <para>
  945. /// A medium-dark shade of green.
  946. /// </para>
  947. /// </summary>
  948. SeaGreen = 0x2E8B57,
  949. /// <summary>
  950. /// Sea shell RGB(255, 245, 238).
  951. /// <para>
  952. /// A very pale orange color, resembling seashells.
  953. /// </para>
  954. /// </summary>
  955. SeaShell = 0xFFF5EE,
  956. /// <summary>
  957. /// Sienna RGB(160, 82, 45).
  958. /// <para>
  959. /// A dark orange-brown color.
  960. /// </para>
  961. /// </summary>
  962. Sienna = 0xA0522D,
  963. /// <summary>
  964. /// Silver RGB(192, 192, 192).
  965. /// <para>
  966. /// A pale gray color, resembling silver.
  967. /// </para>
  968. /// </summary>
  969. Silver = 0xC0C0C0,
  970. /// <summary>
  971. /// Sky blue RGB(135, 206, 235).
  972. /// <para>
  973. /// A pale shade of blue, resembling the sky.
  974. /// </para>
  975. /// </summary>
  976. SkyBlue = 0x87CEEB,
  977. /// <summary>
  978. /// Slate blue RGB(106, 90, 205).
  979. /// <para>
  980. /// A medium-dark shade of blue.
  981. /// </para>
  982. /// </summary>
  983. SlateBlue = 0x6A5ACD,
  984. /// <summary>
  985. /// Slate gray RGB(112, 128, 144).
  986. /// <para>
  987. /// A medium-dark shade of gray.
  988. /// </para>
  989. /// </summary>
  990. SlateGray = 0x708090,
  991. /// <summary>
  992. /// Slate grey RGB(112, 128, 144).
  993. /// <para>
  994. /// Same as <see cref="SlateGray"/>.
  995. /// </para>
  996. /// </summary>
  997. SlateGrey = SlateGray,
  998. /// <summary>
  999. /// Snow RGB(255, 250, 250).
  1000. /// <para>
  1001. /// A very pale shade of white with a hint of pink.
  1002. /// </para>
  1003. /// </summary>
  1004. Snow = 0xFFFAFA,
  1005. /// <summary>
  1006. /// Spring green RGB(0, 255, 127).
  1007. /// <para>
  1008. /// A bright green color with a hint of yellow.
  1009. /// </para>
  1010. /// </summary>
  1011. SpringGreen = 0x00FF7F,
  1012. /// <summary>
  1013. /// Steel blue RGB(70, 130, 180).
  1014. /// <para>
  1015. /// A medium-dark shade of blue.
  1016. /// </para>
  1017. /// </summary>
  1018. SteelBlue = 0x4682B4,
  1019. /// <summary>
  1020. /// Tan RGB(210, 180, 140).
  1021. /// <para>
  1022. /// A pale orange-brown color.
  1023. /// </para>
  1024. /// </summary>
  1025. Tan = 0xD2B48C,
  1026. /// <summary>
  1027. /// Teal RGB(0, 128, 128).
  1028. /// <para>
  1029. /// A medium-dark shade of greenish-blue.
  1030. /// </para>
  1031. /// </summary>
  1032. Teal = 0x008080,
  1033. /// <summary>
  1034. /// Thistle RGB(216, 191, 216).
  1035. /// <para>
  1036. /// A pale purple color.
  1037. /// </para>
  1038. /// </summary>
  1039. Thistle = 0xD8BFD8,
  1040. /// <summary>
  1041. /// Tomato RGB(255, 99, 71).
  1042. /// <para>
  1043. /// A bright reddish-orange color, resembling tomatoes.
  1044. /// </para>
  1045. /// </summary>
  1046. Tomato = 0xFF6347,
  1047. /// <summary>
  1048. /// Turquoise RGB(64, 224, 208).
  1049. /// <para>
  1050. /// A bright greenish-blue color.
  1051. /// </para>
  1052. /// </summary>
  1053. Turquoise = 0x40E0D0,
  1054. /// <summary>
  1055. /// Violet RGB(238, 130, 238).
  1056. /// <para>
  1057. /// A bright purple color.
  1058. /// </para>
  1059. /// </summary>
  1060. Violet = 0xEE82EE,
  1061. /// <summary>
  1062. /// Wheat RGB(245, 222, 179).
  1063. /// <para>
  1064. /// A pale yellowish-brown color, resembling wheat.
  1065. /// </para>
  1066. /// </summary>
  1067. Wheat = 0xF5DEB3,
  1068. /// <summary>
  1069. /// White RGB(255, 255, 255).
  1070. /// <para>
  1071. /// The lightest color, representing the presence of all colors of light.
  1072. /// </para>
  1073. /// </summary>
  1074. White = 0xFFFFFF,
  1075. /// <summary>
  1076. /// White smoke RGB(245, 245, 245).
  1077. /// <para>
  1078. /// A very pale shade of gray, resembling smoke.
  1079. /// </para>
  1080. /// </summary>
  1081. WhiteSmoke = 0xF5F5F5,
  1082. /// <summary>
  1083. /// Yellow RGB(255, 255, 0).
  1084. /// <para>
  1085. /// A bright yellow color.
  1086. /// </para>
  1087. /// </summary>
  1088. Yellow = 0xFFFF00,
  1089. /// <summary>
  1090. /// Yellow green RGB(154, 205, 50).
  1091. /// <para>
  1092. /// A bright yellowish-green color.
  1093. /// </para>
  1094. /// </summary>
  1095. YellowGreen = 0x9ACD32,
  1096. // Legacy 16-color names for backwards compatibility
  1097. // These match the RGB values used in ColorName16 mapping
  1098. /// <summary>
  1099. /// Bright Black RGB(118, 118, 118).
  1100. /// <para>
  1101. /// A bright black (dark gray) color from the legacy 16-color palette. This is the ColorName16.DarkGray color.
  1102. /// </para>
  1103. /// </summary>
  1104. BrightBlack = 0x767676,
  1105. /// <summary>
  1106. /// Bright Blue RGB(59, 120, 255).
  1107. /// <para>
  1108. /// A bright blue color from the legacy 16-color palette.
  1109. /// </para>
  1110. /// </summary>
  1111. BrightBlue = 0x3B78FF,
  1112. /// <summary>
  1113. /// Bright Cyan RGB(97, 214, 214).
  1114. /// <para>
  1115. /// A bright cyan color from the legacy 16-color palette.
  1116. /// </para>
  1117. /// </summary>
  1118. BrightCyan = 0x61D6D6,
  1119. /// <summary>
  1120. /// Bright Green RGB(22, 198, 12).
  1121. /// <para>
  1122. /// A bright green color from the legacy 16-color palette.
  1123. /// </para>
  1124. /// </summary>
  1125. BrightGreen = 0x16C60C,
  1126. /// <summary>
  1127. /// Bright Magenta RGB(180, 0, 158).
  1128. /// <para>
  1129. /// A bright magenta color from the legacy 16-color palette.
  1130. /// </para>
  1131. /// </summary>
  1132. BrightMagenta = 0xB4009E,
  1133. /// <summary>
  1134. /// Bright Red RGB(231, 72, 86).
  1135. /// <para>
  1136. /// A bright red color from the legacy 16-color palette.
  1137. /// </para>
  1138. /// </summary>
  1139. BrightRed = 0xE74856,
  1140. /// <summary>
  1141. /// Bright Yellow RGB(249, 241, 165).
  1142. /// <para>
  1143. /// A bright yellow color from the legacy 16-color palette.
  1144. /// </para>
  1145. /// </summary>
  1146. BrightYellow = 0xF9F1A5
  1147. }