at-rule

@color profile — CSS reference

Defines a named custom color profile in CSS Color 5. The intentionally invalid placeholder data is only a parsing probe, not a valid ICC profile. Use a standard color() space or sRGB fallback for interoperable styling.

Formal Syntax & Structure

css syntaxcss
@color-profile --sample { src: url("data:application/octet-stream;base64,AA=="); }

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>@color-profile</title><style>body{margin:8px;font:16px/20px sans-serif;color:black;background:white}@color-profile --sample { src: url("data:application/octet-stream;base64,AA=="); } #a{color:green}</style><body><p id="a">Example text</p></body></html>
CSS Reference