← Back to at-rules

CSS At-rule

@color-profile

Color

Defines a custom color profile that can be referenced in CSS color functions.

Syntax

@color-profile --name { src: url('profile.icc'); }

Example

@color-profile --print-cmyk { src: url('cmyk.icc'); }

Common use cases

  • Print-accurate color management
  • Wide-gamut color profiles for displays
  • ICC profile integration in CSS

Practical developer insight

@color-profile is a niche rule mainly relevant for print workflows or wide-gamut displays — not commonly needed in everyday web projects.

Related