bootstrap color button code example
Example 1: bootstarp btn colors
Blue
Grey
Green
Red
Yellow
Ligth blue
White
Black
White with blue text
Example 2: bootstrap Outline buttons
In need of a button, but not the hefty background colors they bring?
Replace the default modifier classes with the .btn-outline-* ones to
remove all background images and colors on any button.
Primary
Secondary
Success
Danger
Warning
Info
Light
Dark
Example 3: bootstrap 4 button
Primary
Secondary
Success
Danger
Warning
Info
Light
Dark
Link
Example 4: custom color bootstrap buttonm
.btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary:visited {
background-color: #8064A2 !important;
}
Example 5: how to change the color of a bootstrap button
.btn-default
{
background-color: #68889E;
color:#FFF;
border-color: #2F3E48;
}
.btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active, .open .dropdown-toggle.btn-default {
background-color: #2F3E48;
color:#FFF;
border-color: #31347B;
}