Technology Microsoft Software & solutions

How to Convert Paint Colors to HEX Color Code

    • 1). Click on the Windows "Start" button, and then "All Programs." Click on the "Accessories" folder to open, and then click on "Paint" to launch Microsoft Paint.

    • 2). Click on the "Edit Colors" button on the main tool bar to open the color picker dialog box.

    • 3). Click on the color you want to convert to hex format, and note the red, green and blue values in the boxes in the bottom-right of the dialog box.

    • 4). Click on "Calculator" from the "Accessories" group in the Windows "Start" menu to open the Windows Calculator. Click on the "View" menu, and select "Programmer" if you are using the Windows 7 calculator, or "Scientific" for other versions of Windows. The interface will change, and you will see buttons for the various number bases, "Dec", "Hex", "Oct" and "Bin." Click on "Dec" for decimal mode if not already selected.

    • 5). Type in the red component value from the Paint color picker, then click on the "Hex" button to select. The hex equivalent of the number is shown. For example, decimal 200 converted to hex is displayed as C8.

    • 6). Click on the "Dec" button to switch to decimal mode, and then enter the green component value. Click the "Hex" button to convert to the hex equivalent. Repeat to display the hex equivalent for the blue component value.

    • 7). Put the three hex codes for the red, green and blue values together to create the HTML color code. For example, red 54, green 193 and blue 201 would give an HTML color code of "#36C1C9." Note that HTML hex color codes always start with the "#" character. The color code can then be used in an HTML page.



Leave a reply