Turns out there is a plug-in for this:
Thanks. I'm using the original version for a long time already https://github.com/cliffrowley/blurmate . I even contacted the author about contributing to TM by making a PR. He was kind of interested but looks like he never found the time to dig into this.
Btw, not sure why does this fork mentions vibrance, because I don't see any on the screenshot it provides.