vendredi 10 avril 2015

Change colour gradient of div acording to the colour scheme of the image


Vote count:

0




WHAT I HAVE


I have background image with width and height equal to 100% at z-index:0. Now there is another div (#blanket) on top of that with equal height and width and has an opacity level of 0.7 to create a blur sort of effect of the image behind it ... The colour of the the div (#blanket) is set to white so the it looks like there is 70% percent white transparent sheet behind which is an image.


WHAT I WANT


Can I change or set the colour gradient of the div (#blanket) that matches the colours in the image behind it .. I first saw that in iphone the way they matched their homescreen theme according to the wallpaper. So if the wallpaper had a red and black sports car then the theme would mostly consist of two basic colours , the red and the black. Can I achieve this in my website. If So then how?



asked 1 min ago







Change colour gradient of div acording to the colour scheme of the image

Aucun commentaire:

Enregistrer un commentaire