W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2018

Re: [csswg-drafts] Convert RGB to the closest representation with name

From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
Date: Tue, 26 Jun 2018 18:31:01 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-400417591-1530037860-sysbot+gh@w3.org>
If RFC 7986 is not finalized yet, perhaps you could recommend that they accept a more flexible color definition, such as hex code. As @svgeesus notes, the named colors in CSS do not represent any kind of consistent color system, and there are many regions of the RGB cube (or any other color space) which aren't well represented.

Otherwise, your best approach for a usable UI might be to create a subset of the named colors which represent an attractive and well-balanced palette. But of course, for interoperability, you'd still need to support the full set of names.

GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2813#issuecomment-400417591 using your GitHub account
Received on Tuesday, 26 June 2018 18:31:07 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 26 June 2018 18:31:12 UTC