Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /svg/painting/reftests/paint-fill-hex.svg - WPT Dashboard Interop Dashboard
<svg id="svg-root"
width="480" height="360" viewBox="0 0 480 360"
<g id="testmeta">
<title>Paint: CSS Color 4 syntax for 'fill' (hex)</title>
<html:link rel="author"
title="Chris Lilley"
<html:link rel="help"
<html:link rel="help"
<html:link rel="match" href="paint-fill-ref.svg" />
</g>
<style>
#test { fill: #339377; }
</style>
<rect id="test" width="120" height="120" x="10" y="10"/>
</svg>