[349] | 1 | <?php
|
---|
| 2 | //============================================================+
|
---|
| 3 | // File name : htmlcolors.php
|
---|
| 4 | // Begin : 2002-04-09
|
---|
| 5 | // Last Update : 2010-04-20
|
---|
| 6 | // Version : 1.0.004
|
---|
| 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 | 'dkgray' => 'a9a9a9',
|
---|
| 81 | 'darkgray' => 'a9a9a9',
|
---|
| 82 | 'darkgrey' => 'a9a9a9',
|
---|
| 83 | 'darkgreen' => '006400',
|
---|
| 84 | 'darkkhaki' => 'bdb76b',
|
---|
| 85 | 'darkmagenta' => '8b008b',
|
---|
| 86 | 'darkolivegreen' => '556b2f',
|
---|
| 87 | 'darkorange' => 'ff8c00',
|
---|
| 88 | 'darkorchid' => '9932cc',
|
---|
| 89 | 'darkred' => '8b0000',
|
---|
| 90 | 'darksalmon' => 'e9967a',
|
---|
| 91 | 'darkseagreen' => '8fbc8f',
|
---|
| 92 | 'darkslateblue' => '483d8b',
|
---|
| 93 | 'darkslategray' => '2f4f4f',
|
---|
| 94 | 'darkslategrey' => '2f4f4f',
|
---|
| 95 | 'darkturquoise' => '00ced1',
|
---|
| 96 | 'darkviolet' => '9400d3',
|
---|
| 97 | 'deeppink' => 'ff1493',
|
---|
| 98 | 'deepskyblue' => '00bfff',
|
---|
| 99 | 'dimgray' => '696969',
|
---|
| 100 | 'dimgrey' => '696969',
|
---|
| 101 | 'dodgerblue' => '1e90ff',
|
---|
| 102 | 'firebrick' => 'b22222',
|
---|
| 103 | 'floralwhite' => 'fffaf0',
|
---|
| 104 | 'forestgreen' => '228b22',
|
---|
| 105 | 'fuchsia' => 'ff00ff',
|
---|
| 106 | 'gainsboro' => 'dcdcdc',
|
---|
| 107 | 'ghostwhite' => 'f8f8ff',
|
---|
| 108 | 'gold' => 'ffd700',
|
---|
| 109 | 'goldenrod' => 'daa520',
|
---|
| 110 | 'gray' => '808080',
|
---|
| 111 | 'grey' => '808080',
|
---|
| 112 | 'green' => '008000',
|
---|
| 113 | 'greenyellow' => 'adff2f',
|
---|
| 114 | 'honeydew' => 'f0fff0',
|
---|
| 115 | 'hotpink' => 'ff69b4',
|
---|
| 116 | 'indianred' => 'cd5c5c',
|
---|
| 117 | 'indigo' => '4b0082',
|
---|
| 118 | 'ivory' => 'fffff0',
|
---|
| 119 | 'khaki' => 'f0e68c',
|
---|
| 120 | 'lavender' => 'e6e6fa',
|
---|
| 121 | 'lavenderblush' => 'fff0f5',
|
---|
| 122 | 'lawngreen' => '7cfc00',
|
---|
| 123 | 'lemonchiffon' => 'fffacd',
|
---|
| 124 | 'lightblue' => 'add8e6',
|
---|
| 125 | 'lightcoral' => 'f08080',
|
---|
| 126 | 'lightcyan' => 'e0ffff',
|
---|
| 127 | 'lightgoldenrodyellow' => 'fafad2',
|
---|
| 128 | 'ltgray' => 'd3d3d3',
|
---|
| 129 | 'lightgray' => 'd3d3d3',
|
---|
| 130 | 'lightgrey' => 'd3d3d3',
|
---|
| 131 | 'lightgreen' => '90ee90',
|
---|
| 132 | 'lightpink' => 'ffb6c1',
|
---|
| 133 | 'lightsalmon' => 'ffa07a',
|
---|
| 134 | 'lightseagreen' => '20b2aa',
|
---|
| 135 | 'lightskyblue' => '87cefa',
|
---|
| 136 | 'lightslategray' => '778899',
|
---|
| 137 | 'lightslategrey' => '778899',
|
---|
| 138 | 'lightsteelblue' => 'b0c4de',
|
---|
| 139 | 'lightyellow' => 'ffffe0',
|
---|
| 140 | 'lime' => '00ff00',
|
---|
| 141 | 'limegreen' => '32cd32',
|
---|
| 142 | 'linen' => 'faf0e6',
|
---|
| 143 | 'magenta' => 'ff00ff',
|
---|
| 144 | 'maroon' => '800000',
|
---|
| 145 | 'mediumaquamarine' => '66cdaa',
|
---|
| 146 | 'mediumblue' => '0000cd',
|
---|
| 147 | 'mediumorchid' => 'ba55d3',
|
---|
| 148 | 'mediumpurple' => '9370d8',
|
---|
| 149 | 'mediumseagreen' => '3cb371',
|
---|
| 150 | 'mediumslateblue' => '7b68ee',
|
---|
| 151 | 'mediumspringgreen' => '00fa9a',
|
---|
| 152 | 'mediumturquoise' => '48d1cc',
|
---|
| 153 | 'mediumvioletred' => 'c71585',
|
---|
| 154 | 'midnightblue' => '191970',
|
---|
| 155 | 'mintcream' => 'f5fffa',
|
---|
| 156 | 'mistyrose' => 'ffe4e1',
|
---|
| 157 | 'moccasin' => 'ffe4b5',
|
---|
| 158 | 'navajowhite' => 'ffdead',
|
---|
| 159 | 'navy' => '000080',
|
---|
| 160 | 'oldlace' => 'fdf5e6',
|
---|
| 161 | 'olive' => '808000',
|
---|
| 162 | 'olivedrab' => '6b8e23',
|
---|
| 163 | 'orange' => 'ffa500',
|
---|
| 164 | 'orangered' => 'ff4500',
|
---|
| 165 | 'orchid' => 'da70d6',
|
---|
| 166 | 'palegoldenrod' => 'eee8aa',
|
---|
| 167 | 'palegreen' => '98fb98',
|
---|
| 168 | 'paleturquoise' => 'afeeee',
|
---|
| 169 | 'palevioletred' => 'd87093',
|
---|
| 170 | 'papayawhip' => 'ffefd5',
|
---|
| 171 | 'peachpuff' => 'ffdab9',
|
---|
| 172 | 'peru' => 'cd853f',
|
---|
| 173 | 'pink' => 'ffc0cb',
|
---|
| 174 | 'plum' => 'dda0dd',
|
---|
| 175 | 'powderblue' => 'b0e0e6',
|
---|
| 176 | 'purple' => '800080',
|
---|
| 177 | 'red' => 'ff0000',
|
---|
| 178 | 'rosybrown' => 'bc8f8f',
|
---|
| 179 | 'royalblue' => '4169e1',
|
---|
| 180 | 'saddlebrown' => '8b4513',
|
---|
| 181 | 'salmon' => 'fa8072',
|
---|
| 182 | 'sandybrown' => 'f4a460',
|
---|
| 183 | 'seagreen' => '2e8b57',
|
---|
| 184 | 'seashell' => 'fff5ee',
|
---|
| 185 | 'sienna' => 'a0522d',
|
---|
| 186 | 'silver' => 'c0c0c0',
|
---|
| 187 | 'skyblue' => '87ceeb',
|
---|
| 188 | 'slateblue' => '6a5acd',
|
---|
| 189 | 'slategray' => '708090',
|
---|
| 190 | 'slategrey' => '708090',
|
---|
| 191 | 'snow' => 'fffafa',
|
---|
| 192 | 'springgreen' => '00ff7f',
|
---|
| 193 | 'steelblue' => '4682b4',
|
---|
| 194 | 'tan' => 'd2b48c',
|
---|
| 195 | 'teal' => '008080',
|
---|
| 196 | 'thistle' => 'd8bfd8',
|
---|
| 197 | 'tomato' => 'ff6347',
|
---|
| 198 | 'turquoise' => '40e0d0',
|
---|
| 199 | 'violet' => 'ee82ee',
|
---|
| 200 | 'wheat' => 'f5deb3',
|
---|
| 201 | 'white' => 'ffffff',
|
---|
| 202 | 'whitesmoke' => 'f5f5f5',
|
---|
| 203 | 'yellow' => 'ffff00',
|
---|
| 204 | 'yellowgreen' => '9acd32'
|
---|
| 205 | );
|
---|
| 206 |
|
---|
| 207 | //============================================================+
|
---|
| 208 | // END OF FILE
|
---|
| 209 | //============================================================+
|
---|
| 210 | ?>
|
---|