Skip to content

Restrictions on the identifier of user-registered color spaces? #23

@danburzo

Description

@danburzo

The CSS Color Level 4 mentions that the @color-profile at-rule works with <dashed-ident> to allow the registration of additional color spaces. The current spec mentions the ability to register color spaces. Will these color spaces need to be prefixed with --?

I'm in the process of implementing generic color serialization in the culori color library and was wondering whether a color space such as Jzazbz should be serialized to a CSS color value as color(jzazbz j a b) or color(--jzazbz j a b), such that the color space definition can be registered by the library consumer on their web pages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions