The color-profile property permits the specification of a source color profile other than the default.

  • Initial valueauto
  • Applies toTable and inline-table elements
  • InheritedNo
  • MediaVisual
  • Computed valueAs specified
  • AnimatableNo
  • CSS VersionCSS3
  • JavaScript syntaxobject.style.colorProfile
Formal syntax: auto | sRGB | <name> | <uri> | inherit
  • autoThis is the default behavior. All colors are presumed to be defined in the sRGB color space unless a more precise embedded profile is specified within content data. For images that do have a profile built into their data, that profile is used.
  • sRGBThe source profile is assumed to be sRGB. This differs from auto in that it overrides an embedded profile inside an image.
  • <name>A name corresponding to a defined color profile that is in the user agent's color profile description database.
  • <uri>The location of a standard ICC profile resource. Just like specifying sRGB, it overrides an embedded profile.
img { 
  color-profile: url("http://example.com/profiles/eg.icm") 
}
?Firefox?Explorer?Chrome?Safari?Opera


Last updated on 23rd March 2014 By Rene Spronk

View All CSS Properties

Errors? Please help to keep this list up to date, If you find any errors, please contact us, so that we can get them fixed.