Design comparison
Solution retrospective
How to change the image color to purple? I cant get it done, and also the internet doesnt provide me with the answer im looking for
Community feedback
- @hejkeikeiPosted over 2 years ago
Hi Raymond, For the coloring, you can create a overlay on top of the image and use
mix-blend-mode
!.overlay { width: 100%; height: 100%; background-color: var(--violet); opacity: 0.8; mix-blend-mode: multiply; }
Hope it helps :) For further information you can visit my work
1@HalaszraymondPosted over 2 years ago@hejkeikei Thank you so much! this sounds logical and made it work:)) Sorry for the late reply
0 - Account deleted
It's kinda tricky. You can use a ::before selector and a purple background with "mix-blend-mode: multiply" combined with a transparent purple div. Check my solution.
1@HalaszraymondPosted over 2 years ago@zauri-khutsishvili Thank you for the help! I applied the other provided solution in this comment section, but I will check this one out soon aswell. sry for the late reply, but really appreciate the help:)
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord