Choose a textbox over which we will test this experiment:
[sourcecode language=’csharp’] ColorDialog colorDialog1 = new ColorDialog();

//fontDialog1.ShowColor = true;

if(colorDialog1.ShowDialog() != DialogResult.Cancel )
{
txtMessage.ForeColor = colorDialog1.Color;
}
txtMessage.Text = “Test for ColorPicker”;

[/sourcecode]

Another tip in this: Similar is for FontDialog. Try using it 🙂