<div dir="ltr"><div>Dear all,<br><br></div>in r69683 I've added few lines to support colors hexadecimal numbers for colors when prefixed by hash. That's the syntax often used in HTML (CSS) and by other programs and formats.<br><div><div><br></div><div>Now instead of<br><div><br>d.vect map=hospitals color=80:170:255<br><br></div>you can do this:<br></div><div><br>d.vect map=hospitals color=#50AAFF<br><br></div>which is useful when you are copy pasting colors from somewhere (like the gcolor2).<br><div><br></div><div>The limit is that it works only for the places where G_str_to_color() is used. Most notably it doesn't work in r.colors' rules file.<br></div><div><br></div><div>This can help with writing scripts but be aware that # starts a comment in Bash, so use quotes.<br></div><div><br></div><div>Please comment,<br></div><div>Vaclav<br></div><div><br><br><a href="https://trac.osgeo.org/grass/changeset/69683">https://trac.osgeo.org/grass/changeset/69683</a><br></div></div></div>