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?
Any graphics program like Photoshop or Gimp can tell you what the hex code or RGB that color is.
On Mac: the built-in DigitalColor Meter.
On Windows: ColorPic
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.
I personally use a program called Pendule for Chrome which has loads of webdev tools on it, including a color picker :).