This is default success background
This is 75% opacity success background
This is 50% opacity success background
This is 25% opacity success background
This is 10% opacity success background
`} />
## CSS
In addition to the following Sass functionality, consider reading about our included [CSS custom properties]([[docsref:/customize/css-variables]]) (aka CSS variables) for colors and more.
### Sass variables
Most `background-color` utilities are generated by our theme colors, reassigned from our generic color palette variables.
Grayscale colors are also available, but only a subset are used to generate any utilities.
Variables for setting `background-color` in `.bg-*-subtle` utilities in light and dark mode:
### Sass maps
Theme colors are then put into a Sass map so we can loop over them to generate our utilities, component modifiers, and more.
Grayscale colors are also available as a Sass map. **This map is not used to generate any utilities.**
RGB colors are generated from a separate Sass map:
Background color opacities build on that with their own map that’s consumed by the utilities API:
Color mode background colors are also available as a Sass map:
### Sass mixins
**No mixins are used to generate our background utilities**, but we do have some additional mixins for other situations where you’d like to create your own gradients.
### Sass utilities API
Background utilities are declared in our utilities API in `scss/_utilities.scss`. [Learn how to use the utilities API.]([[docsref:/utilities/api#using-the-api]])