
****************************
Editing Texture Paint Colors
****************************

Sample Color
============

.. reference::

   :Mode:      Texture Paint Mode
   :Shortcut:  :kbd:`Shift-X`, :kbd:`Shift-Ctrl-X`

Samples a color from the viewport and assigns it to the active
:doc:`Paint </sculpt_paint/sculpting/brushes/paint>` brush.

This allows quickly matching the brush color to existing painted details
directly on the model.

- Press :kbd:`Shift-X` to sample a color at the mouse cursor position.
- Press :kbd:`Shift-Ctrl-X` to sample the **merged viewport color**,
  including lighting, shading, and all visible layers.

The sampled color becomes the primary color of the active Paint brush.
