htmlcolors.php 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. <?php
  2. //============================================================+
  3. // File name : htmlcolors.php
  4. // Version : 1.0.008
  5. // Begin : 2002-04-09
  6. // Last Update : 2010-12-16
  7. // Author : Nicola Asuni - Tecnick.com S.r.l - Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com
  8. // License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
  9. // -------------------------------------------------------------------
  10. // Copyright (C) 2002-2010 Nicola Asuni - Tecnick.com S.r.l.
  11. //
  12. // This file is part of TCPDF software library.
  13. //
  14. // TCPDF is free software: you can redistribute it and/or modify it
  15. // under the terms of the GNU Lesser General Public License as
  16. // published by the Free Software Foundation, either version 3 of the
  17. // License, or (at your option) any later version.
  18. //
  19. // TCPDF is distributed in the hope that it will be useful, but
  20. // WITHOUT ANY WARRANTY; without even the implied warranty of
  21. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  22. // See the GNU Lesser General Public License for more details.
  23. //
  24. // You should have received a copy of the GNU Lesser General Public License
  25. // along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
  26. //
  27. // See LICENSE.TXT file for more information.
  28. // -------------------------------------------------------------------
  29. //
  30. // Description : Array of WEB safe colors
  31. //
  32. //============================================================+
  33. /**
  34. * @file
  35. * Array of WEB safe colors
  36. * @author Nicola Asuni
  37. * @package com.tecnick.tcpdf
  38. * @since 2.9.000 (2008-03-26)
  39. */
  40. /**
  41. * Array of WEB safe colors
  42. */
  43. $webcolor = array (
  44. 'aliceblue' => 'f0f8ff',
  45. 'antiquewhite' => 'faebd7',
  46. 'aqua' => '00ffff',
  47. 'aquamarine' => '7fffd4',
  48. 'azure' => 'f0ffff',
  49. 'beige' => 'f5f5dc',
  50. 'bisque' => 'ffe4c4',
  51. 'black' => '000000',
  52. 'blanchedalmond' => 'ffebcd',
  53. 'blue' => '0000ff',
  54. 'blueviolet' => '8a2be2',
  55. 'brown' => 'a52a2a',
  56. 'burlywood' => 'deb887',
  57. 'cadetblue' => '5f9ea0',
  58. 'chartreuse' => '7fff00',
  59. 'chocolate' => 'd2691e',
  60. 'coral' => 'ff7f50',
  61. 'cornflowerblue' => '6495ed',
  62. 'cornsilk' => 'fff8dc',
  63. 'crimson' => 'dc143c',
  64. 'cyan' => '00ffff',
  65. 'darkblue' => '00008b',
  66. 'darkcyan' => '008b8b',
  67. 'darkgoldenrod' => 'b8860b',
  68. 'dkgray' => 'a9a9a9',
  69. 'darkgray' => 'a9a9a9',
  70. 'darkgrey' => 'a9a9a9',
  71. 'darkgreen' => '006400',
  72. 'darkkhaki' => 'bdb76b',
  73. 'darkmagenta' => '8b008b',
  74. 'darkolivegreen' => '556b2f',
  75. 'darkorange' => 'ff8c00',
  76. 'darkorchid' => '9932cc',
  77. 'darkred' => '8b0000',
  78. 'darksalmon' => 'e9967a',
  79. 'darkseagreen' => '8fbc8f',
  80. 'darkslateblue' => '483d8b',
  81. 'darkslategray' => '2f4f4f',
  82. 'darkslategrey' => '2f4f4f',
  83. 'darkturquoise' => '00ced1',
  84. 'darkviolet' => '9400d3',
  85. 'deeppink' => 'ff1493',
  86. 'deepskyblue' => '00bfff',
  87. 'dimgray' => '696969',
  88. 'dimgrey' => '696969',
  89. 'dodgerblue' => '1e90ff',
  90. 'firebrick' => 'b22222',
  91. 'floralwhite' => 'fffaf0',
  92. 'forestgreen' => '228b22',
  93. 'fuchsia' => 'ff00ff',
  94. 'gainsboro' => 'dcdcdc',
  95. 'ghostwhite' => 'f8f8ff',
  96. 'gold' => 'ffd700',
  97. 'goldenrod' => 'daa520',
  98. 'gray' => '808080',
  99. 'grey' => '808080',
  100. 'green' => '008000',
  101. 'greenyellow' => 'adff2f',
  102. 'honeydew' => 'f0fff0',
  103. 'hotpink' => 'ff69b4',
  104. 'indianred' => 'cd5c5c',
  105. 'indigo' => '4b0082',
  106. 'ivory' => 'fffff0',
  107. 'khaki' => 'f0e68c',
  108. 'lavender' => 'e6e6fa',
  109. 'lavenderblush' => 'fff0f5',
  110. 'lawngreen' => '7cfc00',
  111. 'lemonchiffon' => 'fffacd',
  112. 'lightblue' => 'add8e6',
  113. 'lightcoral' => 'f08080',
  114. 'lightcyan' => 'e0ffff',
  115. 'lightgoldenrodyellow' => 'fafad2',
  116. 'ltgray' => 'd3d3d3',
  117. 'lightgray' => 'd3d3d3',
  118. 'lightgrey' => 'd3d3d3',
  119. 'lightgreen' => '90ee90',
  120. 'lightpink' => 'ffb6c1',
  121. 'lightsalmon' => 'ffa07a',
  122. 'lightseagreen' => '20b2aa',
  123. 'lightskyblue' => '87cefa',
  124. 'lightslategray' => '778899',
  125. 'lightslategrey' => '778899',
  126. 'lightsteelblue' => 'b0c4de',
  127. 'lightyellow' => 'ffffe0',
  128. 'lime' => '00ff00',
  129. 'limegreen' => '32cd32',
  130. 'linen' => 'faf0e6',
  131. 'magenta' => 'ff00ff',
  132. 'maroon' => '800000',
  133. 'mediumaquamarine' => '66cdaa',
  134. 'mediumblue' => '0000cd',
  135. 'mediumorchid' => 'ba55d3',
  136. 'mediumpurple' => '9370d8',
  137. 'mediumseagreen' => '3cb371',
  138. 'mediumslateblue' => '7b68ee',
  139. 'mediumspringgreen' => '00fa9a',
  140. 'mediumturquoise' => '48d1cc',
  141. 'mediumvioletred' => 'c71585',
  142. 'midnightblue' => '191970',
  143. 'mintcream' => 'f5fffa',
  144. 'mistyrose' => 'ffe4e1',
  145. 'moccasin' => 'ffe4b5',
  146. 'navajowhite' => 'ffdead',
  147. 'navy' => '000080',
  148. 'oldlace' => 'fdf5e6',
  149. 'olive' => '808000',
  150. 'olivedrab' => '6b8e23',
  151. 'orange' => 'ffa500',
  152. 'orangered' => 'ff4500',
  153. 'orchid' => 'da70d6',
  154. 'palegoldenrod' => 'eee8aa',
  155. 'palegreen' => '98fb98',
  156. 'paleturquoise' => 'afeeee',
  157. 'palevioletred' => 'd87093',
  158. 'papayawhip' => 'ffefd5',
  159. 'peachpuff' => 'ffdab9',
  160. 'peru' => 'cd853f',
  161. 'pink' => 'ffc0cb',
  162. 'plum' => 'dda0dd',
  163. 'powderblue' => 'b0e0e6',
  164. 'purple' => '800080',
  165. 'red' => 'ff0000',
  166. 'rosybrown' => 'bc8f8f',
  167. 'royalblue' => '4169e1',
  168. 'saddlebrown' => '8b4513',
  169. 'salmon' => 'fa8072',
  170. 'sandybrown' => 'f4a460',
  171. 'seagreen' => '2e8b57',
  172. 'seashell' => 'fff5ee',
  173. 'sienna' => 'a0522d',
  174. 'silver' => 'c0c0c0',
  175. 'skyblue' => '87ceeb',
  176. 'slateblue' => '6a5acd',
  177. 'slategray' => '708090',
  178. 'slategrey' => '708090',
  179. 'snow' => 'fffafa',
  180. 'springgreen' => '00ff7f',
  181. 'steelblue' => '4682b4',
  182. 'tan' => 'd2b48c',
  183. 'teal' => '008080',
  184. 'thistle' => 'd8bfd8',
  185. 'tomato' => 'ff6347',
  186. 'turquoise' => '40e0d0',
  187. 'violet' => 'ee82ee',
  188. 'wheat' => 'f5deb3',
  189. 'white' => 'ffffff',
  190. 'whitesmoke' => 'f5f5f5',
  191. 'yellow' => 'ffff00',
  192. 'yellowgreen' => '9acd32'
  193. );
  194. //============================================================+
  195. // END OF FILE
  196. //============================================================+