1<p class="text-primary">.text-primary</p>
2<p class="text-secondary">.text-secondary</p>
3<p class="text-success">.text-success</p>
4<p class="text-danger">.text-danger</p>
5<p class="text-warning">.text-warning</p>
6<p class="text-info">.text-info</p>
7<p class="text-light bg-dark">.text-light</p>
8<p class="text-dark">.text-dark</p>
9<p class="text-muted">.text-muted</p>
10<p class="text-white bg-dark">.text-white</p>
1<div class="p-3 mb-2 bg-primary text-white">.bg-primary</div>
2<div class="p-3 mb-2 bg-secondary text-white">.bg-secondary</div>
3<div class="p-3 mb-2 bg-success text-white">.bg-success</div>
4<div class="p-3 mb-2 bg-danger text-white">.bg-danger</div>
5<div class="p-3 mb-2 bg-warning text-dark">.bg-warning</div>
6<div class="p-3 mb-2 bg-info text-white">.bg-info</div>
7<div class="p-3 mb-2 bg-light text-dark">.bg-light</div>
8<div class="p-3 mb-2 bg-dark text-white">.bg-dark</div>
9<div class="p-3 mb-2 bg-white text-dark">.bg-white</div>
1primary - #007bff
2secondary - #6c757d
3success - #28a745
4danger - #dc3545
5warning - #ffc107
6info - #17a2b8
7light - #f8f9fa
8dark - #343a40
9muted - #6c757d
10white - #ffffff
1<div class="p-3 mb-2 bg-gradient-primary text-white">.bg-gradient-primary</div>
2<div class="p-3 mb-2 bg-gradient-secondary text-white">.bg-gradient-secondary</div>
3<div class="p-3 mb-2 bg-gradient-success text-white">.bg-gradient-success</div>
4<div class="p-3 mb-2 bg-gradient-danger text-white">.bg-gradient-danger</div>
5<div class="p-3 mb-2 bg-gradient-warning text-dark">.bg-gradient-warning</div>
6<div class="p-3 mb-2 bg-gradient-info text-white">.bg-gradient-info</div>
7<div class="p-3 mb-2 bg-gradient-light text-dark">.bg-gradient-light</div>
8<div class="p-3 mb-2 bg-gradient-dark text-white">.bg-gradient-dark</div>
1<p class="text-primary">Text with primary color</p>
2<p class="text-secondary">Text with secondary color</p>
3<p class="text-success">Text with success color</p>
4<p class="text-danger">Text with danger color</p>
5<p class="text-warning">Text with warning color</p>
6<p class="text-info">Text with info color</p>
7<p class="text-light bg-dark">Text with light color</p>
8<p class="text-dark">Text with dark color</p>
9<p class="text-muted">Text with muted color</p>
10<p class="text-white bg-dark">Text with white color</p>
1<div class="p-3 mb-2 bg-primary text-white">.bg-primary</div>
2<div class="p-3 mb-2 bg-secondary text-white">.bg-secondary</div>
3<div class="p-3 mb-2 bg-success text-white">.bg-success</div>
4<div class="p-3 mb-2 bg-danger text-white">.bg-danger</div>
5<div class="p-3 mb-2 bg-warning text-dark">.bg-warning</div>
6<div class="p-3 mb-2 bg-info text-dark">.bg-info</div>
7<div class="p-3 mb-2 bg-light text-dark">.bg-light</div>
8<div class="p-3 mb-2 bg-dark text-white">.bg-dark</div>
9<div class="p-3 mb-2 bg-body text-dark">.bg-body</div>
10<div class="p-3 mb-2 bg-white text-dark">.bg-white</div>
11<div class="p-3 mb-2 bg-transparent text-dark">.bg-transparent</div>