rendering-intent property CSS Reference



Definition and Usage

This property permits the specification of a color profile rendering intent other than the default. The behavior of values other than auto and inherit are defined by the International Color Consortium standard

Name: rendering-intent
Value: auto | perceptual | relative-colorimetric | saturation | absolute-colorimetric | inherit
Initial: auto
Applies to: all elements
Inherited: yes
Percentages: N/A
Media: visual
Computed value: specified value

Syntax

rendering-intent: auto | perceptual | relative-colorimetric | saturation | absolute-colorimetric | inherit;

Values

auto
This is the default behavior. The user agent determines the best intent based on the content. For image content containing an embedded profile, it should be assumed that the intent specified within the profile is the desired intent. Otherwise, the user agent should use the current profile (based on the color-profile style) and force the intent, overriding any intent that may be stored in the profile itself.

Examples

.class {
rendering-intent: saturation ;
}

Relative articles