[GRASS-dev] any way to know color assigned to a cell?

Daniel Calvelo dca.gis at gmail.com
Mon Apr 23 02:56:43 EDT 2007


On 4/22/07, Hamish <hamish_nospam at yahoo.com> wrote:
[...]
> what RGB triplet pattern does xwPython prefer?

Either (in printf format): "\"#%02x%02x%02x\"" (quotes included: a
string may be given as color in the form of a wx color name or a hex
triplet) or "(%d,%d,%d)" (an integer triplet, 0-255 values).

So red is one of:

"RED"
"#FF0000"
(255,0,0)

Daniel.

-- Daniel Calvelo Aros




More information about the grass-dev mailing list