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

Hamish hamish_nospam at yahoo.com
Tue Apr 24 02:24:01 EDT 2007


Daniel Calvelo wrote:
> 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)


curious, is "wx color name" the same as X11 color names? (honeydew4 etc
as given in /usr/lib/X11/rgb.txt) or just basic red,green,blue,..


?
Hamish




More information about the grass-dev mailing list