cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!DOCTYPE colormap [ |
| 3 | <!ELEMENT colormap (color)+> |
| 4 | <!ELEMENT color (#PCDATA)> |
| 5 | <!ATTLIST color name CDATA "0"> |
| 6 | <!ATTLIST color color CDATA "rgb(0,0,0)"> |
| 7 | <!ATTLIST color compliance CDATA "SVG"> |
| 8 | ]> |
cristy | e3e77a1 | 2009-10-16 00:47:21 +0000 | [diff] [blame] | 9 | <!-- |
| 10 | Associate a color name with its red, green, blue, and alpha intensities. |
| 11 | |
| 12 | A number of methods and options require a color parameter. It is often |
| 13 | convenient to refer to a color by name (e.g. white) rather than by hex |
| 14 | value (e.g. #fff). This file maps a color name to its equivalent red, |
| 15 | green, blue, and alpha intensities (e.g. for white, red = 255, green = |
| 16 | 255, blue = 255, and alpha = 0). |
| 17 | --> |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 18 | <colormap> |
cristy | a60c020 | 2010-07-31 21:36:45 +0000 | [diff] [blame] | 19 | <!-- <color name="none" color="rgba(0,0,0,0)" compliance="SVG, XPM"/> --> |
cristy | e3e77a1 | 2009-10-16 00:47:21 +0000 | [diff] [blame] | 20 | <!-- <color name="black" color="rgb(0,0,0)" compliance="SVG, X11, XPM"/> --> |
| 21 | <!-- <color name="red" color="rgb(255,0,0)" compliance="SVG, X11, XPM"/> --> |
| 22 | <!-- <color name="magenta" color="rgb(255,0,255)" compliance="SVG, X11, XPM"/> --> |
| 23 | <!-- <color name="green" color="rgb(0,128,0)" compliance="SVG"/> --> |
| 24 | <!-- <color name="cyan" color="rgb(0,255,255)" compliance="SVG, X11, XPM"/> --> |
| 25 | <!-- <color name="blue" color="rgb(0,0,255)" compliance="SVG, X11, XPM"/> --> |
| 26 | <!-- <color name="yellow" color="rgb(255,255,0)" compliance="SVG, X11, XPM"/> --> |
| 27 | <!-- <color name="white" color="rgb(255,255,255)" compliance="SVG, X11"/> --> |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 28 | </colormap> |