The colour tag allows CSS color names or RGB color codes (#RRGGBB), according to the wiki page.

But the wiki page for the osmc:symbol tag only mentions use of color names. Does this tag not allow use of RGB color codes?

asked 17 Jun '16, 00:51

ljb_nj's gravatar image

ljb_nj
61491726
accept rate: 12%


Taginfo indicates that there are ~2 objects that use color codes:

http://taginfo.openstreetmap.org/keys/?key=osmc%3Asymbol#values

(search for # in the search box that is to the right of the page below the Values used with this key header)

So the de facto situation is pretty clear, use the named colors.

Looking at the wiki, it looks like consumers of the tag expect it to follow the format given there.

permanent link

answered 17 Jun '16, 02:20

maxerickson's gravatar image

maxerickson
10.7k1073150
accept rate: 31%

OK then, thanks, named colors only. But the followup question would be: what name set? The 16 named colors in HTML4.01 (which are the same names as on the Key:colour wiki page)? The 17 named CSS2 colors (same as HTML4.01 plus 'orange')? The 140 named colors in CSS3?

Using the taginfo link from you, it seems that the HTML4.01 named colors (as in Key:colour) are used the most, 'orange' is used a lot, and other colors names are used but much less frequently.

(17 Jun '16, 03:24) ljb_nj
1

The wiki links http://www.wanderreitkarte.de/symbols_en.html as a "complete list".

(17 Jun '16, 04:33) maxerickson
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×824
×8

question asked: 17 Jun '16, 00:51

question was seen: 1,636 times

last updated: 17 Jun '16, 04:33

powered by OSQA