How to convert RGB color to HEX for binding

As I mentioned in the other post, there are a couple ways to do it.
In that case I did it with hex because that is what you normally see while designing.
image