Posted on 2006-03-28
Last Modified: 2008-02-01

is it possible to change the saturation of an image, using CSS? I understand that such an effect will not be very compatible - but I don't mind.

I'm just after something that would work in IE.

Question by:InteractiveMind
    LVL 9

    Expert Comment

    .5 = 50% , .7 = 70% and so on

    <img src="" style="filter: progid:DXImageTransform.Microsoft.BasicImage(opacity=.5);">
    LVL 25

    Author Comment

    That seems to be opacity, and not saturation.
    LVL 9

    Expert Comment

    well I dont see that css can do that with css
    but maybe PHP? I just dont know, this is something
    LVL 17

    Accepted Solution

    Using Lakio's setup and this overview of filters:
    brings me to the conclusion that what you ask is impossible. The BasicImage Filter can do a load of effects, like grayscale, colormasks, opacity and even rotation, but not saturation.
    LVL 25

    Author Comment

    A grayscale effect is what I'm actually trying to achieve... :)

    Thanks !

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Suggested Solutions

    As a result of several questions about how to use Bootstrap I thought it would be a good idea to write down the development aspect of creating a Bootstrapped website in as little time as possible. Part 1 of this article will only concentrate on g…
    Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
    In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
    In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now