Hi,
What if i want my user to be able to pick colors from the common dialog and then find out if the colors he chose are in a shade of gray that simmilar to the background of a picturebox.

Can i find out if the color is in some of the shades of gray that i don't want him to use?

the important thing in this question is not how i find which color he chose, but how do i know if it is similar to the background of the picturebox in several close shades.

thanks..