Home | History | Annotate | Download | only in source
      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 ]>
      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 -->
     18 <colormap>
     19   <!-- <color name="none" color="rgba(0,0,0,0)" compliance="SVG, XPM"/> -->
     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"/> -->
     28 </colormap>
     29