Bootstrap Q&A Logo
Bootstrap Q&A Part of the Q&A Topic Learning Network
Real Questions. Clear Answers.
Ask any question about Bootstrap here... and get an instant response.
Q&A Balloon Q&A Logo
Post this Question & Answer:

How can I customize Bootstrap's default colors without using SCSS?

Asked on Apr 20, 2026

Answer

You can customize Bootstrap's default colors by overriding the CSS variables in your own stylesheet. This method doesn't require SCSS and allows you to change colors globally.
<!-- BEGIN COPY / PASTE -->
        <style>
            :root {
                --bs-primary: #ff5733; /* Custom primary color */
                --bs-secondary: #33c1ff; /* Custom secondary color */
                --bs-success: #28a745; /* Custom success color */
                --bs-danger: #dc3545; /* Custom danger color */
                --bs-warning: #ffc107; /* Custom warning color */
                --bs-info: #17a2b8; /* Custom info color */
                --bs-light: #f8f9fa; /* Custom light color */
                --bs-dark: #343a40; /* Custom dark color */
            }
        </style>
        <!-- END COPY / PASTE -->
Additional Comment:
  • Place the