The value is defined as an hexadecimal rgb code, starting with a #. I think most data consumers try to decode it with or without a #, its an easy to fix typo. Yves
Le 28 septembre 2017 18:59:15 GMT+02:00, James <james2...@gmail.com> a écrit : >usually # specifies that it's a hexidecimal number vs a base 10 number. >When you have letters A-F it's obvious that it's hexidecimal and can be >implecitely converted. > >The issue is when you don't have letters: >255 > >in hexadecimal 255 is >2*16^2 >+ >5*16^1 >+ >5*16^0 >= 512+80+5=597 > >255 base 10 would be represented by ff in hex. > >On Sep 28, 2017 12:08 PM, "Jack Armstrong dan...@sprynet.com" < >jacknst...@sprynet.com> wrote: > >> It's been my experience that colors render just fine without a '#' >before >> the code number. Is usage of a # prefix really necessary? What >problems >> will occur if it isn't attached? Thanks :) >> >> _______________________________________________ >> talk mailing list >> talk@openstreetmap.org >> https://lists.openstreetmap.org/listinfo/talk >> >>
_______________________________________________ talk mailing list talk@openstreetmap.org https://lists.openstreetmap.org/listinfo/talk