Standard background colors
Inverse background colors
These background color utilities can be used to modify the background color of an element. In most cases, using the components with available modifiers should be sufficient to implement most designs, and should be preferred over customizations using these utilities.
Care should be taken especially when applying background colors, as this can have a negative effect on the readability and accessibility of text. Refer to contrast ratios for more information.
Note that "inverse" background colors are labeled as such to indicate that they are best used with the "inverse" text colors.
Breakpoint is optional. Breakpoints: base (no breakpoint value), -on-sm, -on-md, -on-lg, -on-xl. Example .pf-u-background-color-200-on-lg
Applies background color 100 or 200.
Applies background color active 100 or 300.
Applies background color primary 200.
Applies background color dark 100, 200, 300, or 400.
Applies background color disabled 200 or 300.
Applies the background color for the default state.
Applies the background color for the success state.
Applies the background color for the info state.
Applies the background color for the warning state.
Applies the background color for the danger state.
View source on GitHub