I want to create this design in CSS/html. I’ve started on the part with the ‘7’ layered on the photo. However my seven doesn’t seem to have same whiteness and in certain spots the right purpleness. Not sure how to achieve it. Can anyone get closer? My attempt is in the Codepen below:
It is kind of hard without having the original values. After all, that seven was probably white… but maybe not. And we don’t know the opacity of the original 7 either.
And I’m sure that the picture wasn’t purple either, and that there’s some kind of purple layer with transparency on top. Do also remember that Photoshop allows different blender modes so up to a point you can choose how the pixels on different layers mix (it looks to me that the 7 uses a soflt light or similar) which is something that you can’t use in CSS.
@molona No the picture wasn’t purple, the URL to the original is in the background-image statement in my codepen http://codepen.io/ComputerJuice/pen/rxBvmr . @Mittineague My problem with what i have done so far was that my 7 dose not seem to match the original whiteness. At the same time my 7 doesn’t seem to have the same purple shadow especially around the nose(nostrils). @molona Thanks…Are you saying this is the best I can get it with CSS?
Must it all be done via css? Could you use layered elements from Photoshop to get the exact effect you want? CSS is limited to what it can do with regard to compositing and layer effects.[quote=“molona, post:3, topic:208936”]
Do also remember that Photoshop allows different blender modes so up to a point you can choose how the pixels on different layers mix
[/quote]
CSS doesn’t have Photoshops blending modes, though I have wondered before if such a thing may be added in the future, that would be cool. The closest thing I have found so far are the Filter Effects which look interesting. But it seems these affect only the element to which it is applied, not any underlying layer, though using the same background can fake the effect. http://www.w3.org/TR/filter-effects-1/
I don’t know whether this helps, but @una has done a lot of stuff with filter effects using CSS - take a look at her blog post here and see if that’s of use to you - http://una.im/CSSgram/
A MASSIVE thanks to Paul and Sam!! Looks identical Sam!! Do any of you know of a good resource to learn about this mix-blend-mode and or CSS filters in general? Again big thanks to both of you!