How to make rectangle with black inline in materials for UI?

I can’t use border with rounded box because outline there is grey when you set size to 1-2. I wish for just simple material with colour and inline size parameters.