How to Get the Hex Code of a Color on Your Computer Screen
Colors are identified in HTML and CSS by their hexadecimal codes. If you're creating a webpage or other HTML project and want to include an element that matches a particular color in an image, website, or program window on your computer...
Method 1 of 4:
Using GIMP or Similar Image Software (for Colors on Images or Screenshots)
-
How to Get the Hex Code of a Color on Your Computer Screen Picture 1
Download GIMP or another advanced image editor. GIMP is a free image manipulation software, but Photoshop and other advanced image editing programs will work, too, with very similar methods. -
How to Get the Hex Code of a Color on Your Computer Screen Picture 2
Find an image with the color you're trying to match. If the color you're matching is already in a picture saved on your computer, you can use that image. If you're trying to match a color on a webpage or computer program, you can take a screenshot that contains the color you're trying to match. -
How to Get the Hex Code of a Color on Your Computer Screen Picture 3
Open the image with the color in question in GIMP. -
How to Get the Hex Code of a Color on Your Computer Screen Picture 4
Select the color picker tool. It looks like an eyedropper. -
How to Get the Hex Code of a Color on Your Computer Screen Picture 5
Click on the color you want to match in the image. -
How to Get the Hex Code of a Color on Your Computer Screen Picture 6
Click on the foreground color box, now that it reflects your chosen color. Locate the hex code - referred to as "HTML notation" - in the "Change Foreground Color" window that pops up.- You can also select "Use info window" from the left-hand side color picker menu. Then, when you click your chosen color with the picker, the color info window will pop up, and the hex code will be listed there.
-
How to Get the Hex Code of a Color on Your Computer Screen Picture 7
Use the hex code. You can note it down, or right-click on the code and copy it to your clipboard. Then you can use that code in the font color, background color, or other elements in the HTML or CSS project you're creating.
Method 2 of 4:
Using Firefox (for Colors on an Existing Website)
-
How to Get the Hex Code of a Color on Your Computer Screen Picture 8
Open up a Firefox browser. If you're trying to copy a color from an existing website and have Firefox installed, this is your quickest option. -
How to Get the Hex Code of a Color on Your Computer Screen Picture 9
Navigate to the page where the color you want to copy is. Make sure the element you need the color for is in view. -
How to Get the Hex Code of a Color on Your Computer Screen Picture 10
Hover over "Tools" in the menu and select "Web Developer". From there, click "Eyedropper". -
How to Get the Hex Code of a Color on Your Computer Screen Picture 11
Click on the color you're looking for. When you do so, Firefox will save the hex code to your clipboard. -
How to Get the Hex Code of a Color on Your Computer Screen Picture 12
Paste the code where you need it. You can use that code in the font color, background color, or other elements in the HTML or CSS project you're creating.
Method 3 of 4:
Using Imagecolorpicker.com
-
How to Get the Hex Code of a Color on Your Computer Screen Picture 13
Go to imagecolorpicker.com. -
How to Get the Hex Code of a Color on Your Computer Screen Picture 14
Decide whether you want to upload your own image or use an image or website already online. Either method can be used to display a picture or webpage for you to select your desired color.- Click "Upload your image" if that's what you want to do. Select "Choose File" and locate the image in your computer folders. Then click "Submit" to upload it.
- Enter the URL for a website or image, if preferred. You can type out or copy and paste this from your browser. Then click the arrow to load the site.
-
How to Get the Hex Code of a Color on Your Computer Screen Picture 15
Click the color you want within the image/site preview. This color will be displayed on the bottom left corner of the screen. -
How to Get the Hex Code of a Color on Your Computer Screen Picture 16
Find the hex code listed next to the chosen color. You can copy it and then use that code to match the font color, background color, or other elements in your HTML or CSS project.
Method 4 of 4:
Using Pixie Software (for Windows OS)
-
How to Get the Hex Code of a Color on Your Computer Screen Picture 17
Install Pixie. It's a tiny utility to find color values of pointed pixel. -
How to Get the Hex Code of a Color on Your Computer Screen Picture 18
Run it. Run the program by navigating and clicking it. -
How to Get the Hex Code of a Color on Your Computer Screen Picture 19
Move the cursor. Move cursor to the color. -
How to Get the Hex Code of a Color on Your Computer Screen Picture 20
Find values of that color. You will see HEX, HTML, RGB etc values of it. -
How to Get the Hex Code of a Color on Your Computer Screen Picture 21
Exit from utility by pressing the cross button.
4.5 ★ | 4 Vote
You should read it
- 4 software to help get professional color codes
- Standard color encoding for programmers and designers
- Ways of blending 80s image colors in Photoshop
- CSS color coding, standard color code in website design
- HTML color code - color code table in html
- How to Find a Car Color Code
- Invitation to COLOR Projects 4, a $ 99 professional image processing software, is free
- How to add color coded terminal code to Microsoft Word
- The visual illusion that makes the black and white image into this color will confuse you
- How to use Photoshop CS5 - Part 11: Change colors from black and white photos
- The difference in the Color Profile mode of the photos
- Tools to get colors online quickly