Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

Patrick Cole
Patrick Cole
5,189 Points

Is there a way to get the exact numerical color codes from an image?

I would like to get the exact color scheme from a certain image to use for the header of my website. Is there a program or some software where I can put the image in and find out the color to input for the HTML?

I'm talking about these codes - #??????.

Thanks!

Logan Wu
Logan Wu
10,792 Points

Photoshop has that function which you use the pointer (shortcut: i) to point at the place where you want to get the color from and double click that color to get the Hexadecimal value.

You can also try for trying out different color combinations: Adobe Color CC

1 Answer

Colin Marshall
Colin Marshall
32,861 Points

The "eyedropper" tool is pretty much a universal feature in image editing software. It will give the color of whatever pixel you click with it. Photoshop, Gimp, etc. all have this feature.