I am pretty sure you can use DwmSetWindowAttribute but I don't know if it can be implemented through an extension. Should be relatively simple, but I've only started learning about extension development. (also, sorry if this thread is using the wrong topic, this is my first post on the forums)
It would also be nice if I could change the color of the window title itself (probably doable aswell)
How could I code such a function?