How to change dialog transparency

How to modify dialog transparency? I can’t find it in UI:: htmldialog

I’m afraid you can’t do that in Ruby.
But if you better describe what you want to achieve maybe someone can give you an idea …