I was wondering if there is a program that could take a color that you have, and return the hex code for it.
I have been trying to match the color against samples online but still haven't found the correct code.
Sounds like just what you need.
Alternatively, the eyedropper tool of pretty much any graphic design software such as Illustrator and Photoshop does just that.
If the color isn't already in an image, take a picture of it with a scanner or digital camera. Then open the image with any application that has a color picker. I like Paint.NET.
If you're using Paint.NET, select
You can even hold the left mouse button down and the hex code will update as you move around the image.