How to set virtual text styles?

Now the virtual text of coc.nvim look like this:
But I want to change the background color of virtual text.
Can anyone help me?

that probably should be done on the corresponding plugin side by changing some setting.
if you just want to know the api for “set virtual text style”, then it must be nvim_buf_set_extmark