Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

how to color svg image in css

/*
	You have to apply a filter, this works for any kink of image
    Play with hue-rotate and saturate to find the color you want
*/
#svg{
    filter: invert(100%) sepia(100%) saturate(1000%) hue-rotate(280deg);
 }
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #color #svg #image #css
ADD COMMENT
Topic
Name
5+8 =