Skip to content

Samples by Class: ms-bgColor-*

The ms-bgColor-* classes apply a background color. Several standard, shared, theme, neutral, and more are included.

Samples are grouped by classes used. Expand to see the related samples.

Complimentary Classes

These classes compliment the ms-borderColor-* and ms-fontColor-* classes and except where noted below contain equivalent colors.

Warning

The named color alert does not have a ms-bgColor- equivalent despite being present elsewhere

3 samples

ms-bgColor-black

0 samples

ms-bgColor-black--hover

4 samples

ms-bgColor-blue

0 samples

ms-bgColor-blueDark

2 samples

ms-bgColor-blueDark--hover

0 samples

ms-bgColor-blue--hover

1 sample 

ms-bgColor-blueLight

0 samples

ms-bgColor-blueLight--hover

0 samples

ms-bgColor-blueMid

0 samples

ms-bgColor-blueMid--hover

0 samples

ms-bgColor-communicationPrimary

0 samples

ms-bgColor-communicationPrimary--hover

0 samples

ms-bgColor-communicationShade10

0 samples

ms-bgColor-communicationShade10--hover

0 samples

ms-bgColor-communicationShade20

0 samples

ms-bgColor-communicationShade20--hover

0 samples

ms-bgColor-communicationShade30

0 samples

ms-bgColor-communicationShade30--hover

0 samples

ms-bgColor-communicationTint10

0 samples

ms-bgColor-communicationTint10--hover

0 samples

ms-bgColor-communicationTint20

2 samples

ms-bgColor-communicationTint20--hover

0 samples

ms-bgColor-communicationTint30

0 samples

ms-bgColor-communicationTint30--hover

2 samples

ms-bgColor-communicationTint40

0 samples

ms-bgColor-communicationTint40--hover

0 samples

ms-bgColor-contrastBlackDisabled

0 samples

ms-bgColor-contrastBlackDisabled--hover

0 samples

ms-bgColor-contrastBlackSelected

0 samples

ms-bgColor-contrastBlackSelected--hover

0 samples

ms-bgColor-contrastWhiteDisabled

0 samples

ms-bgColor-contrastWhiteDisabled--hover

0 samples

ms-bgColor-contrastWhiteSelected

0 samples

ms-bgColor-contrastWhiteSelected--hover

0 samples

ms-bgColor-error

0 samples

ms-bgColor-error--hover

0 samples

ms-bgColor-gray10

0 samples

ms-bgColor-gray100

0 samples

ms-bgColor-gray100--hover

1 sample 

ms-bgColor-gray10--hover

0 samples

ms-bgColor-gray110

0 samples

ms-bgColor-gray110--hover

0 samples

ms-bgColor-gray120

0 samples

ms-bgColor-gray120--hover

0 samples

ms-bgColor-gray130

0 samples

ms-bgColor-gray130--hover

0 samples

ms-bgColor-gray140

0 samples

ms-bgColor-gray140--hover

0 samples

ms-bgColor-gray150

0 samples

ms-bgColor-gray150--hover

0 samples

ms-bgColor-gray160

0 samples

ms-bgColor-gray160--hover

0 samples

ms-bgColor-gray170

0 samples

ms-bgColor-gray170--hover

0 samples

ms-bgColor-gray180

0 samples

ms-bgColor-gray180--hover

0 samples

ms-bgColor-gray190

0 samples

ms-bgColor-gray190--hover

1 sample 

ms-bgColor-gray20

0 samples

ms-bgColor-gray200

0 samples

ms-bgColor-gray200--hover

0 samples

ms-bgColor-gray20--hover

0 samples

ms-bgColor-gray210

0 samples

ms-bgColor-gray210--hover

0 samples

ms-bgColor-gray220

0 samples

ms-bgColor-gray220--hover

1 sample 

ms-bgColor-gray30

3 samples

ms-bgColor-gray30--hover

1 sample 

ms-bgColor-gray40

0 samples

ms-bgColor-gray40--hover

0 samples

ms-bgColor-gray50

0 samples

ms-bgColor-gray50--hover

0 samples

ms-bgColor-gray60

0 samples

ms-bgColor-gray60--hover

0 samples

ms-bgColor-gray70

0 samples

ms-bgColor-gray70--hover

0 samples

ms-bgColor-gray80

0 samples

ms-bgColor-gray80--hover

0 samples

ms-bgColor-gray90

0 samples

ms-bgColor-gray90--hover

9 samples

ms-bgColor-green

0 samples

ms-bgColor-greenDark

0 samples

ms-bgColor-greenDark--hover

0 samples

ms-bgColor-green--hover

3 samples

ms-bgColor-greenLight

1 sample 

ms-bgColor-greenLight--hover

0 samples

ms-bgColor-info

2 samples

ms-bgColor-info--hover

0 samples

ms-bgColor-magenta

0 samples

ms-bgColor-magentaDark

0 samples

ms-bgColor-magentaDark--hover

0 samples

ms-bgColor-magenta--hover

0 samples

ms-bgColor-magentaLight

0 samples

ms-bgColor-magentaLight--hover

0 samples

ms-bgColor-neutralDark

0 samples

ms-bgColor-neutralDark--hover

8 samples

ms-bgColor-neutralLight

8 samples

ms-bgColor-neutralLighter

4 samples

ms-bgColor-neutralLighterAlt

0 samples

ms-bgColor-neutralLighterAlt--hover

1 sample 

ms-bgColor-neutralLighter--hover

5 samples

ms-bgColor-neutralLight--hover

3 samples

ms-bgColor-neutralPrimary

0 samples

ms-bgColor-neutralPrimaryAlt

0 samples

ms-bgColor-neutralPrimaryAlt--hover

1 sample 

ms-bgColor-neutralPrimary--hover

1 sample 

ms-bgColor-neutralQuaternary

1 sample 

ms-bgColor-neutralQuaternaryAlt

0 samples

ms-bgColor-neutralQuaternaryAlt--hover

0 samples

ms-bgColor-neutralQuaternary--hover

2 samples

ms-bgColor-neutralSecondary

2 samples

ms-bgColor-neutralSecondaryAlt

0 samples

ms-bgColor-neutralSecondaryAlt--hover

0 samples

ms-bgColor-neutralSecondary--hover

1 sample 

ms-bgColor-neutralTertiary

2 samples

ms-bgColor-neutralTertiaryAlt

1 sample 

ms-bgColor-neutralTertiaryAlt--hover

0 samples

ms-bgColor-neutralTertiary--hover

2 samples

ms-bgColor-orange

0 samples

ms-bgColor-orange--hover

3 samples

ms-bgColor-orangeLight

5 samples

ms-bgColor-orangeLighter

1 sample 

ms-bgColor-orangeLighter--hover

0 samples

ms-bgColor-orangeLight--hover

2 samples

ms-bgColor-purple

0 samples

ms-bgColor-purpleDark

1 sample 

ms-bgColor-purpleDark--hover

0 samples

ms-bgColor-purple--hover

0 samples

ms-bgColor-purpleLight

0 samples

ms-bgColor-purpleLight--hover

13 samples

ms-bgColor-red

3 samples

ms-bgColor-redDark

4 samples

ms-bgColor-redDark--hover

2 samples

ms-bgColor-red--hover

0 samples

ms-bgColor-severeWarning

0 samples

ms-bgColor-severeWarning--hover

0 samples

ms-bgColor-sharedBlue10

0 samples

ms-bgColor-sharedBlue10--hover

1 sample 

ms-bgColor-sharedBlueMagenta10

0 samples

ms-bgColor-sharedBlueMagenta10--hover

0 samples

ms-bgColor-sharedBlueMagenta20

0 samples

ms-bgColor-sharedBlueMagenta20--hover

0 samples

ms-bgColor-sharedBlueMagenta30

0 samples

ms-bgColor-sharedBlueMagenta30--hover

0 samples

ms-bgColor-sharedBlueMagenta40

0 samples

ms-bgColor-sharedBlueMagenta40--hover

1 sample 

ms-bgColor-sharedCyan10

0 samples

ms-bgColor-sharedCyan10--hover

0 samples

ms-bgColor-sharedCyan20

0 samples

ms-bgColor-sharedCyan20--hover

0 samples

ms-bgColor-sharedCyan30

0 samples

ms-bgColor-sharedCyan30--hover

0 samples

ms-bgColor-sharedCyan40

0 samples

ms-bgColor-sharedCyan40--hover

2 samples

ms-bgColor-sharedCyanBlue10

0 samples

ms-bgColor-sharedCyanBlue10--hover

0 samples

ms-bgColor-sharedCyanBlue20

0 samples

ms-bgColor-sharedCyanBlue20--hover

1 sample 

ms-bgColor-sharedGray10

1 sample 

ms-bgColor-sharedGray10--hover

0 samples

ms-bgColor-sharedGray20

0 samples

ms-bgColor-sharedGray20--hover

0 samples

ms-bgColor-sharedGray30

0 samples

ms-bgColor-sharedGray30--hover

0 samples

ms-bgColor-sharedGray40

0 samples

ms-bgColor-sharedGray40--hover

0 samples

ms-bgColor-sharedGreen10

0 samples

ms-bgColor-sharedGreen10--hover

0 samples

ms-bgColor-sharedGreen20

0 samples

ms-bgColor-sharedGreen20--hover

1 sample 

ms-bgColor-sharedGreenCyan10

0 samples

ms-bgColor-sharedGreenCyan10--hover

0 samples

ms-bgColor-sharedMagenta10

0 samples

ms-bgColor-sharedMagenta10--hover

0 samples

ms-bgColor-sharedMagenta20

0 samples

ms-bgColor-sharedMagenta20--hover

0 samples

ms-bgColor-sharedMagentaPink10

0 samples

ms-bgColor-sharedMagentaPink10--hover

0 samples

ms-bgColor-sharedMagentaPink20

0 samples

ms-bgColor-sharedMagentaPink20--hover

2 samples

ms-bgColor-sharedOrange10

0 samples

ms-bgColor-sharedOrange10--hover

0 samples

ms-bgColor-sharedOrange20

1 sample 

ms-bgColor-sharedOrange20--hover

0 samples

ms-bgColor-sharedOrange30

0 samples

ms-bgColor-sharedOrange30--hover

1 sample 

ms-bgColor-sharedOrangeYellow10

0 samples

ms-bgColor-sharedOrangeYellow10--hover

0 samples

ms-bgColor-sharedOrangeYellow20

0 samples

ms-bgColor-sharedOrangeYellow20--hover

0 samples

ms-bgColor-sharedPinkRed10

0 samples

ms-bgColor-sharedPinkRed10--hover

2 samples

ms-bgColor-sharedRed10

0 samples

ms-bgColor-sharedRed10--hover

1 sample 

ms-bgColor-sharedRed20

0 samples

ms-bgColor-sharedRed20--hover

1 sample 

ms-bgColor-sharedRedOrange10

0 samples

ms-bgColor-sharedRedOrange10--hover

0 samples

ms-bgColor-sharedRedOrange20

0 samples

ms-bgColor-sharedRedOrange20--hover

4 samples

ms-bgColor-sharedYellow10

0 samples

ms-bgColor-sharedYellow10--hover

2 samples

ms-bgColor-sharedYellowGreen10

0 samples

ms-bgColor-sharedYellowGreen10--hover

0 samples

ms-bgColor-success

0 samples

ms-bgColor-success--hover

0 samples

ms-bgColor-teal

0 samples

ms-bgColor-tealDark

0 samples

ms-bgColor-tealDark--hover

2 samples

ms-bgColor-teal--hover

3 samples

ms-bgColor-tealLight

0 samples

ms-bgColor-tealLight--hover

1 sample 

ms-bgColor-themeDark

0 samples

ms-bgColor-themeDarkAlt

0 samples

ms-bgColor-themeDarkAlt--hover

3 samples

ms-bgColor-themeDarker

0 samples

ms-bgColor-themeDarker--hover

4 samples

ms-bgColor-themeDark--hover

8 samples

ms-bgColor-themeLight

14 samples

ms-bgColor-themeLighter

8 samples

ms-bgColor-themeLighterAlt

2 samples

ms-bgColor-themeLighterAlt--hover

6 samples

ms-bgColor-themeLighter--hover

5 samples

ms-bgColor-themeLight--hover

38 samples

ms-bgColor-themePrimary

6 samples

ms-bgColor-themePrimary--hover

0 samples

ms-bgColor-themeSecondary

0 samples

ms-bgColor-themeSecondary--hover

6 samples

ms-bgColor-themeTertiary

5 samples

ms-bgColor-themeTertiary--hover

0 samples

ms-bgColor-warning

0 samples

ms-bgColor-warning--hover

20 samples

ms-bgColor-white

1 sample 

ms-bgColor-white--hover

9 samples

ms-bgColor-yellow

1 sample 

ms-bgColor-yellow--hover

0 samples

ms-bgColor-yellowLight

0 samples

ms-bgColor-yellowLight--hover