The color-profile
attribute is used to define which color profile a raster image included through the <image>
element should use.
As a presentation attribute, it also can be used as a property directly inside a CSS stylesheet, see css color-profile
for further information.
Categories | Presentation attribute |
---|---|
Value | auto | sRGB | <name> | <IRI> | inherit |
Animatable | Yes |
Normative document | SVG 1.1 (2nd Edition) |
<name>
and uses the last matching entry that is found. If a match is found, the corresponding profile overrides an embedded profile inside an image. If no match is found, then the embedded profile inside the image is used.The following elements can use the color
attribute
<image>
that refer to raster image
© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/color-profile