in reply to Perl/Tk - query about rdg values of a colour
is using the int/sqrt function is the correct thing to do to get the quoted range?
I'd rather divide by 256 . Otherwise you will get a non linear mapping.