CSS: how to turn a color image into a gray or black and white image

Possible duplicate:
Convert image to grayscale in HTML / CSS

How to change a color image to a gray or black and white image, such as a website with CSS?

Can this be done only in CSS or do I need JavaScript (jQuery)?

Thank.

Edit:

Thanks for the answers to the guys. I notice that the trick is to make two different color images: one is full and the other is b / w. I was hoping this could be done in one image. So there is no way to do this from a "trick" ??

+5
source share
4

, jQuery , Soh Tanaka. (, .)

css, : hover

+2

jquery greyScale

.

EDIT: - jQuery- Gianluca Guarini: css.

+2

.

Photoshop ( ..).

, PHP ( , ), .

, JavaScript , .

http://www.pixastic.com/lib/docs/actions/desaturate/

+1

All Articles