com-tecnick-tcpdf
[ class tree: com-tecnick-tcpdf ] [ index: com-tecnick-tcpdf ] [ all elements ]

Source for file htmlcolors.php

Documentation is available at htmlcolors.php

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

Documentation generated on Wed, 22 Apr 2009 09:00:06 +0200 by phpDocumentor 1.4.1