I've been heavily customizing my elementary os desktop to look more to my liking, and I would like to know if it's possible to change the color of the bar above each window, based on the application that's being run. It seems like it would be possible, but when I google for it I can never find anything. In fact, I find nothing; no questions about it, no articles--I thought that I might be calling it the wrong thing, or it just isn't possible. That's why I'm asking here. Is it possible to dynamically change the window bar color?
Also my second question is kind of like the first but not as important, is it possible to dynamically change the color of the panel at the top of the desktop based on the color of the application open? I saw something like it using ImageMagick, but I couldn't find it again