Re: [css-houdini-drafts] [css-typed-om] Move ".colorspace" to the color superclass, readonly (#1036)

> So, the only object that allows this type of colorspace conversion is CSSColor?

No, it would be on `CSSColorValue`, the superclass, where the `.toX()` methods currently live.

> And, there is both .to("rgb") and .to("srgb") which both do the same conversion, but give you different types of object?

Yup.


-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/1036#issuecomment-840650632 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 13 May 2021 15:47:05 UTC