Just 2 percent of users donating can help bring in more developers to keep Blender the best 3D software out there. Free for everyone, forever!
Reference
Draw Mode
Toolbar ‣ Eyedropper
The Eyedropper tool is used to create materials or palette color based on sampled colors in the 3D Viewport.
LMB Create a stroke material.
Shift-LMB Create a fill material.
Shift-Ctrl-LMB Create both a stroke and fill material.