svg:PresentationAttributes-Color

The following presentation attributes have to do with specifying color.

Attribute Group Information

Attributes

QName Type Fixed Default Use Inheritable Annotation
color svg:ColorType optional
color-interpolation restriction of string optional
color-rendering restriction of string optional

Used By

Source

<attributeGroup name="PresentationAttributes-Color">
  <annotation>
    <documentation>The following presentation attributes have to do with specifying color.</documentation>
  </annotation>
  <attribute name="color" type="svg:ColorType" use="optional"/>
  <attribute name="color-interpolation" use="optional">
    <simpleType>
      <restriction base="string">
        <enumeration value="auto"/>
        <enumeration value="sRGB"/>
        <enumeration value="linearRGB"/>
        <enumeration value="inherit"/>
      </restriction>
    </simpleType>
  </attribute>
  <attribute name="color-rendering" use="optional">
    <simpleType>
      <restriction base="string">
        <enumeration value="auto"/>
        <enumeration value="optimizeSpeed"/>
        <enumeration value="optimizeQuality"/>
        <enumeration value="inherit"/>
      </restriction>
    </simpleType>
  </attribute>
</attributeGroup>