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.
The CSS Color Level 4 mentions that the
@color-profileat-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)orcolor(--jzazbz j a b), such that the color space definition can be registered by the library consumer on their web pages.