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 [email protected]" <
[email protected]> 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
> [email protected]
> https://lists.openstreetmap.org/listinfo/talk
>
>
_______________________________________________
talk mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/talk

Reply via email to