Wikidata:Property proposal/CSS Color name
Jump to navigation
Jump to search
color keyword of this color in CSS
[edit]Originally proposed at Wikidata:Property proposal/Generic
Represents | web color (Q376346) |
---|---|
Data type | String |
Domain | web color (Q376346) |
Example 1 | Rebecca purple (Q89284412) → rebeccapurple |
Example 2 | beige (Q843607) → beige |
Example 3 | orange (Q39338) → orange |
Example 4 | deep pink (Q89328051) → deeppink |
Source | official specification [1] |
Expected completeness | eventually complete (Q21873974) |
Formatter URL | https://drafts.csswg.org/css-color/#valdef-color-$1 |
See also | sRGB color hex triplet (P465), corresponding HTML autocomplete attribute (P7964) |
Motivation
[edit]Cascading Style Sheets (Q46441) defines a number of colors along with a rgb values. all of those should be associated with with a color (Q1075) --Shisma (talk) 19:31, 2 April 2020 (UTC)
Discussion
[edit]Support This makes sense to me. However, do we think this actually represents an external-id of sorts rather than just a string? --SilentSpike (talk) 22:22, 2 April 2020 (UTC)
- Support cool idea Germartin1 (talk) 09:24, 4 April 2020 (UTC)
- @Shisma, SilentSpike, Germartin1: Done I've created it as a string instead of external-id, following corresponding HTML autocomplete attribute (P7964) example. --Tinker Bell ★ ♥ 06:24, 11 April 2020 (UTC)