Bootstrap class: .bg-primary

<div class="bg-primary text-white">Nullam id dolor id nibh ultricies vehicula ut id elit.</div>

Preview

Nullam id dolor id nibh ultricies vehicula ut id elit.

Check .bg-primary in a real project

Click one of the examples listed below to open the Shuffle Visual Editor with the UI library that uses the selected component.

Tips 💡

More in Bootstrap Colors