RESOLVED WONTFIX 159963
Support PANTONE Color Names in CSS color properties
https://bugs.webkit.org/show_bug.cgi?id=159963
Summary Support PANTONE Color Names in CSS color properties
Alexander Cohen
Reported 2016-07-19 22:30:07 PDT
The PANTONE Color Standard is widely known as the way to specify color for print. The use of the standard is starting to extend past print and could easily be integrated into web workflows. This enhancement would simply add PANTONE Color names to the list of possible html color names that can be used in a web page ( and defined in CSS ). There does not appear to be a standard for how html color names are formatted except for being case-insensitive, so we propose to use the full PANTONE number and color guide indicator, remove any spaces or dashes. Example: Actual PANTONE Color Name: PANTONE 101 C Web PANTONE Color Name: 101c
Attachments
Patch (50.54 KB, patch)
2016-07-20 13:03 PDT, Alexander Cohen
no flags
HTML Page displaying all PANTONE Colors as HEX and PANTONE Names. (236.76 KB, text/html)
2016-07-20 13:08 PDT, Alexander Cohen
no flags
Patch (51.17 KB, patch)
2016-07-20 13:57 PDT, Alexander Cohen
simon.fraser: review-
Alexander Cohen
Comment 1 2016-07-20 11:29:33 PDT
After further trials, a better naming convention for the PANTONE html names could be the following: - Start every name with a 'p' to represent PANTONE. This also let's the CSSParser not recognize names such as '101c' as HEX values. - Continue with the PANTONE number removing any dashes and spaces. - End with the color guide marker. Example: Actual PANTONE Color Name: PANTONE 101 C Web PANTONE Color Name: p101c
Alexander Cohen
Comment 2 2016-07-20 13:03:18 PDT
Alexander Cohen
Comment 3 2016-07-20 13:08:25 PDT
Created attachment 284140 [details] HTML Page displaying all PANTONE Colors as HEX and PANTONE Names.
Alexander Cohen
Comment 4 2016-07-20 13:57:17 PDT
Sam Weinig
Comment 5 2016-07-21 10:01:08 PDT
Is this in support of a specific CSS specification?
Alexander Cohen
Comment 6 2016-07-21 10:14:29 PDT
It's not. It's possible that I misclassified the enhancement. The goal is to fulfill a growing need of web designers ( and brands more specifically ) to specify web color using something more than rgb. An interesting example would be Coke. Their "brand" red is specified as PANTONE. They do this in order to achieve color correctness independent of where the color is output ( every coke can you see is the same red even though they were most likely not printed by the same printer ). The same could be achieved on the web by extending the "html color names" to also contain PANTONE names. Coke could easily specify their red color on their website using the same named color they use for anything else and thus achieve high brand color fidelity on the web.
Simon Fraser (smfr)
Comment 7 2016-07-21 10:59:18 PDT
Comment on attachment 284145 [details] Patch This needs to go through the CSS standardization process before we can accept this patch.
Alexander Cohen
Comment 8 2016-07-21 11:00:34 PDT
Already on it. Thank you.
Brent Fulgham
Comment 9 2022-07-14 16:33:05 PDT
Does anyone know if standardization was completed here?
Radar WebKit Bug Importer
Comment 10 2022-07-14 16:33:24 PDT
Simon Fraser (smfr)
Comment 11 2022-07-14 18:58:25 PDT
I'm not aware of any.
Anne van Kesteren
Comment 12 2024-03-17 09:27:33 PDT
Happy to revisit this if it gets standardized somehow.
Note You need to log in before you can comment on or make changes to this bug.