You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
culori.parse() now accepts the color() notation; this makes Culori understand things like color(display-p3 0.5 0.1 0.2 / 0.75), as well as any string it produces via culori.formatCss().
culori.formatCss() produces a CSS-compatible string representation of the color, where color spaces are generally serialized as color(--mode), unless they're predefined (in which case we use their appropriate CSS identifier, e.g. color(display-p3)), or they have their own functional notation (in which case we use that, e.g. lab()).