In Photoshop CS5 and newer, you can use the HUD Color Picker. With the Brush Tool selected, hold Alt Shift Right-Click (Windows) or Ctrl Option Command Click (macOS). To use the color wheel HUD Color Picker instead, press Ctrl