Friday 15 June 2012

jquery - How to find background color behind transparent image using JavaScript -



jquery - How to find background color behind transparent image using JavaScript -

i want select color title text within svg. color has darker or lighter depending on background-color of body or div containing svg. body may not have background color specified. how find background color understand theme can decide whether utilize darker or lighter color.

note: using jquery.colorbrightness.js understand whether background color dark or light

javascript jquery svg

No comments:

Post a Comment