Revision 426991 of flood-color

  • Revision slug: Web/SVG/Attribute/flood-color
  • Revision title: flood-color
  • Revision id: 426991
  • Created:
  • Creator: Jeremie
  • Is current revision? Yes
  • Comment 126 words added, 9 words removedSVG/Attribute/flood-color Web/SVG/Attribute/flood-color

Revision Content

« SVG Attribute reference home

The flood-color attribute indicates what color to use to flood the current filter primitive subregion defined through the {{ SVGElement("feFlood") }} element. The keyword currentColor and ICC colors can be specified in the same manner as within a <paint> specification for the {{ SVGAttr("fill") }} and {{ SVGAttr("stroke") }} attributes.

Usage context

Categories Presentation attribute
Value currentColor | <color> | <icccolor> | inherit
Initial value black
Animatable Yes
Normative document SVG 1.1 (2nd Edition)

Examples

Elements

The following elements can use the flood-color attribute

  • {{ SVGElement("feFlood") }}

See also

  • {{ SVGAttr("flood-opacity") }}

Revision Source

<p>« <a href="/en/SVG/Attribute" title="en/SVG/Attribute">SVG Attribute reference home</a></p>
<p>The <code>flood-color</code> attribute indicates what color to use to flood the current filter primitive subregion defined through the {{ SVGElement("feFlood") }} element. The keyword <code>currentColor</code> and ICC colors can be specified in the same manner as within a <a href="/en/SVG/Content_type#Paint" title="en/SVG/Content_type#Paint">&lt;paint&gt;</a> specification for the {{ SVGAttr("fill") }} and {{ SVGAttr("stroke") }} attributes.</p>
<h2 id="Usage_context">Usage context</h2>
<table class="standard-table"> <tbody> <tr> <th scope="row">Categories</th> <td>Presentation attribute</td> </tr> <tr> <th scope="row">Value</th> <td>currentColor | <a href="/en/SVG/Content_type#Color" title="en/SVG/Content_type#Color">&lt;color&gt;</a> | <a href="/en/SVG/Content_type#ICCColor" title="en/SVG/Content_type#ICCColor">&lt;icccolor&gt;</a> | inherit</td> </tr> <tr> <th scope="row">Initial value</th> <td>black</td> </tr> <tr> <th scope="row">Animatable</th> <td>Yes</td> </tr> <tr> <th scope="row">Normative document</th> <td><a class="external" href="http://www.w3.org/TR/SVG/filters.html#FloodColorProperty" title="http://www.w3.org/TR/SVG/filters.html#FloodColorProperty">SVG 1.1 (2nd Edition)</a></td> </tr> </tbody>
</table>
<h2 id="Examples">Examples</h2>
<h2 id="Elements">Elements</h2>
<p>The following elements can use the <code>flood-color</code> attribute</p>
<ul> <li>{{ SVGElement("feFlood") }}</li>
</ul>
<h2 id="See_also">See also</h2>
<ul> <li>{{ SVGAttr("flood-opacity") }}</li>
</ul>
Revert to this revision