I want to add background color to a particular field as shown. I have to do this dynamically so I need to get the id of the field. Is it possible to do so?

I want to add background color to a particular field as shown. I have to do this dynamically so I need to get the id of the field. Is it possible to do so?
This is not possible to perform through the SDK, as the requirement that you are trying to perform is not supported.