10000 [css-color] Non-ICC color specifications · Issue #5737 · w3c/csswg-drafts · GitHub
[go: up one dir, main page]

Skip to content

[css-color] Non-ICC color specifications #5737

@Crissov

Description

@Crissov
color() = color( [ 
    [<ident> | <dashed-ident>]? 
    [ <number-percentage>+ | <string> ] 
    [ / <alpha-value> ]? 
  ]# , <color>? )

The color() function as currently specified expects either a single color name or a sequence of numeric component values. This may well cover everything that is possible with ICC profiles, but it does not support systems which support multiple keywords to specify a single color, e.g. CNS very dark reddish orange, or combine letters/words and numeric amounts, e.g. NCS S 2030-Y90R ~ 20% 30% 10% yellow 90% red.

Should the syntax be relaxed a bit to support such systems in the future?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0