index.rst (2202B)
1 ========== 2 Eyedropper 3 ========== 4 5 The Eyedropper tool enables you to select colors in the current page. It works like a magnifying glass over the page, enabling you to select with pixel precision. Underneath the magnifying glass it shows the color value for the current pixel using whichever scheme you've selected in :ref:`Settings > Inspector <settings-inspector>` > Default color unit: 6 7 .. image:: eyedropper.png 8 9 You can use it in one of two ways: 10 11 - to select a color from the page and copy it to the clipboard 12 - to change a color value in the Inspector's Rules view to a color you've selected from the page 13 14 Copying a color to the clipboard 15 ******************************** 16 17 Open the Eyedropper in one of these two ways: 18 19 - select "Eyedropper" under the "Browser Tools" menu 20 - open the :doc:`Page Inspector <../page_inspector/index>` tab and click the eyedropper button in its toolbar 21 22 As you move the mouse around the page you'll see the current color value in the Eyedropper change. Clicking copies the current color value to the clipboard. 23 24 .. raw:: html 25 26 <iframe width="560" height="315" src="https://www.youtube.com/embed/xf2uk6UyRB8" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> 27 <br/> 28 <br/> 29 30 Changing a color value in the Rules view 31 **************************************** 32 33 Color values appearing in the Inspector's Rules view have color samples next to them: clicking the sample shows a :doc:`color picker popup <../page_inspector/how_to/inspect_and_select_colors/index>`. The popup contains an eyedropper icon: click this icon to activate the Eyedropper. 34 35 Now, when you click the Eyedropper, the color in the Rules view is set to the color you selected. 36 37 .. raw:: html 38 39 <iframe width="560" height="315" src="https://www.youtube.com/embed/0Zx1TN21QOo" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> 40 <br/> 41 <br/> 42 43 44 Keyboard shortcuts 45 ****************** 46 47 See :ref:`All keyboard shortcuts > Eyedropper <keyboard-shortcuts-eyedropper>`.