Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an image (not gradient) color, I tried to identify the color code but not possible. Is there any tool to convert image to css or css color code?

share|improve this question
up vote 4 down vote accepted

You need eyedropper kind of tool, for example:

  • Open image in Adobe Photoshop/Fireworks and use Eyedropper tool
  • ColorZilla extension for Firefox
  • Eye Dropper extension for Google Chrome
  • EyeDropper standalone Windows application.
  • ColorPic for Windows
share|improve this answer

Any graphics program like Photoshop or Gimp can tell you what the hex code or RGB that color is.

share|improve this answer

On Mac: the built-in DigitalColor Meter.
On Windows: ColorPic

share|improve this answer

There are a few online tools that will allow you to extract color palettes from a photo or other image. You'll get an output of what the dominant colors are in the image (as there are millions of colors). Try ColorSuckr and CSS Drive Color Palette Generator

share|improve this answer

If you use IE8 & above, there is a Color Picker available with Developer Tools (F12 shortcut key) that you can use to identify the color code.

share|improve this answer

I personally use a program called Pendule for Chrome which has loads of webdev tools on it, including a color picker :).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.