Don't post code snippets out of context in the forum.
Create a small build on github that reproduces your problem.
Guess (I should not have to guess):
I am not familiar with that method, but looking at the code it takes an ARGB value not an RGB
So I guess your alpha value is zero and the blending/transparency means nothing is displayed?
See for example, Gui.drawBackdrop() or displayScoreboardSidebar() which also has code to take into account the user's choice of background opacity.