This box's "background color" is actually it's border-color. 🤯
border-width defaults to 0. There's only the border-color property.position: absolute; behind the entire element.overflow: hidden; on the parent.Good question! This is definitely one of those tricks you might need when you have control over CSS but not markup.
For a real-world example, the WordPress Pullquote block sets its "Main Color" setting as an inline style for border-color. If you want the main color to appears as a background color, this is the only way I could figure out how to do it.
Ping me if this helps you out! I'd love to hear about it.