Hi,
I'm trying to figure out how I can convert a number between 1 and 50 to a greyscale color that could be used here:
g.setColor(MyGreyScaleColour);
1 would be lightest (white) and 50 would be darkest (black).
e.g.
Color intToCol(int colNum)
{
code here
}
Any suggestions?