Hi @Ali-Hussain ,
Did you ever figure this out?
I am trying to do something similar by adding a custom field to the post object based on a button I've added to the composer.
@Ali-Hussain I'm doing something similar to this but with the borders. It would be easy to adapt this so that it sets the background instead.
It's essentially jQuery doing the legwork, but works perfectly.