Setting an arbitrary RGB colour as TPaveText's background

Hello,

I wish I could set a custom RGB color to a TPaveText’s background, but it seems it doesn’t work the way I expected :

root [0] TCanvas c root [1] TPaveText pt(0.78, 0.63, 0.98, 0.83, "NDC") root [2] pt.Draw() root [3] TColor col root [4] col.SetRGB(200, 220, 170) root [5] pt.SetFillColor(col.GetNumber()) root [6] c.Modified()

The pave should be soft green (I checked the rgb) but is dark grey. What am I doing wrong ?

Thanks,
Barth

The answer is here:
root.cern.ch/root/html/TColor.html
The R G and B values are between 0 and 1

Ok, sorry I missed this point.

thanks,
Barth