• Profile picture of Elsaeed

    Elsaeed

    4 days ago

    Hepp me, how do I change the color of an image in CSS? I’ve tried filter and opacity but none is working🙏

    Profile PhotoProfile Photo liked this
    2 Comments
    • Still, The best way to do this is through opacity and drop shadow

      Say for example I have an image tag like what you saw in the pen

      I can apply the following css property

      img{
      filter: opacity(0.4) drop-shadow(0 0 0 red);
      }