This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

fill-opacity

Summary

‘fill-opacity’ specifies the opacity of the painting operation used to paint the interior the current object. (See Painting shapes and text.)

Overview table

Initial value
1
Applies to
shapes and text content elements
Inherited
Yes
Media
visual

Computed value
:

Animatable
Yes

CSS Object Model Property
:

Percentages
n/a

Syntax

  • fill-opacity: inherit

Values

inherit
:

Usage

 <opacity-value>

The opacity of the painting operation used to fill the current object, as a <number>. Any values outside the range 0.0 (fully transparent) to 1.0 (fully opaque) will be clamped to this range. (See Clamping values which are restricted to a particular range.)

Related specifications

stroke-opacity
W3C Recommendation
opacity
W3C Recommendation

See also

Other articles

http://www.w3.org/TR/SVG/render.html#PaintingShapesAndText