ColorPalette.Current (gb.form)

Property Current As Integer

Return the current color, or Color.Default if no color is selected.