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

Design

achievements
achievements
15,883 Points

design-"change background color from image"

Do you know which course from design include "change background color from image" or do you know any easy and effective way to change background color from image online?

6 Answers

Steven Parker
Steven Parker
231,248 Points

It's hard to say without seeing exactly what you are working with; but if I understand what you are trying to do, I would probably use Photoshop or some other image manipulation tool (like the free Gimp tool) to convert the part of the image you are describing as "background" to transparent. This might also mean changing the image format to one that supports transparency (such as "gif" or "png"). Then whatever you have selected as the page background with CSS would show through.

Steven Parker
Steven Parker
231,248 Points

Background color is easily changed using CSS.

I"m not sure what you mean by "from image", but if you have a CSS file, or imbed style tags, you can set the "background-color" property on an element to set the color.

If that's not the answer you need, perhaps you could be a bit more explicit and/or provide a link the course page you are working with.

achievements
achievements
15,883 Points

ok thanks perhaps the answer is in photoshop course

Steven Parker
Steven Parker
231,248 Points

Is that the course you are taking? A link to the specific course page would help to get an accurate answer to your question.

Steven Parker
Steven Parker
231,248 Points

So can you say what course you are taking? A link to the page you were working with would be great.

achievements
achievements
15,883 Points

it is a website that has white background.The images in this website have also white background.I tried to convert the white background of the images to "snow background color" .I mean i know that for the background color of the website i use css but how can i convert the white background color of an image to "snow" color? obviously with photoshop.Have a better idea?