briangonzalez / jquery.adaptive-backgrounds.js

🦎 A jQuery plugin for extracting the dominant color from images and applying the color to their parent.
http://briangonzalez.github.io/jquery.adaptive-backgrounds.js/
6.53k stars 454 forks source link

Match SVG Pattern Image Fill to SVG stroke #25

Closed Great2BNate closed 9 years ago

Great2BNate commented 10 years ago

Is there a way to detect the SVG pattern image fill background's color and then use its dominant color to render the stroke color of that SVG to be the same?

briangonzalez commented 10 years ago

Not sure exactly what you mean. Do you have an example SVG?

Great2BNate commented 10 years ago

Yeah,

testing.apliiq.com/site/autobotIx

briangonzalez commented 10 years ago

I would just use RGBaster directly for something like this: http://codepen.io/briangonzalez/pen/jviJA?editors=001