Using colorDialog As New ColorDialog
'If the user actually selected a color Then
If colorDialog.ShowDialog() = DialogResult.OK Then
'Set the background color of the picture box = color selected from the color dialog
PictureBox1.BackColor = colorDialog.Color
End If
End Using
Place this code in your Button_Click
event handler.