If you make a table, say like this...
+---+---+---+
| B | R | G |
+---+---+---+
| X | O | O |
+---+---+---+
with however many rows you want. The top row is an empty cell with the background color one of the options to pick. Under each cell is a radio or check box to choose that color. The whole thing is a form, the value of the radio is a color.
<input type=radio name=colors value="#FFFFCC">
Then have an OK button that passes the color value chosen back to another script.
This can be just plain old html, or you can have it generated dynamically based on a bunch of color values pulled out of a database. Maybe for different levels, they have more or less color choices. It's up to you.
I don't have time to write the code now, but it'll only take a minute. Let me know if you want an example.
Also, one warning. Netscape won't show the table cell if there isn't anything in it. so you can't have a empty cell with a background color. I usually just put a period in the cell, the same color as background...
Hope that helps.
---John Holmes...