I could do that shinkan ,But i want the color pallete to work like photoshop's color pallete for instance.If the cursor is over a certain area of the color pallete then the color box would show that certain color
where the cursor is at that particular part of the color pallete.
Here is an example of what i am trying to do.
<img src="http://dl.dropbox.com/u/7658043/colpal.jpg" border="0" />