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
- Animatable
- Yes
- 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