botstrap colors code example

Example 1: bootstrap text color

.text-primary

.text-secondary

.text-success

.text-danger

.text-warning

.text-info

.text-light

.text-dark

.text-muted

.text-white

Example 2: bootstrap color

primary - #007bff
secondary - #6c757d
success - #28a745
danger - #dc3545
warning - #ffc107
info - #17a2b8
light - #f8f9fa
dark - #343a40
muted - #6c757d
white - #ffffff

Example 3: bootstrap 4 text color

Text with primary color

Text with secondary color

Text with success color

Text with danger color

Text with warning color

Text with info color

Text with light color

Text with dark color

Text with muted color

Text with white color

Example 4: bootstrap background

.bg-primary
.bg-secondary
.bg-success
.bg-danger
.bg-warning
.bg-info
.bg-light
.bg-dark
.bg-white

Example 5: bootstrap color a div

use something like :
I'm your content inside the grid!

Tags: