The w3-border-color classes change the color of an existing border.
Use them with w3-border or a border bar class. A color class alone does not add a border.
Each box below uses w3-border for a border on all sides and w3-leftbar for a thicker left border that makes the color easier to see.
The gray and grey spellings produce the same colors.
Default border color
w3-border-amber
w3-border-aqua
w3-border-black
w3-border-blue
w3-border-blue-gray
w3-border-blue-grey
w3-border-brown
w3-border-cyan
w3-border-dark-gray
w3-border-dark-grey
w3-border-deep-orange
w3-border-deep-purple
w3-border-gray
w3-border-green
w3-border-grey
w3-border-indigo
w3-border-khaki
w3-border-light-blue
w3-border-light-gray
w3-border-light-green
w3-border-light-grey
w3-border-lime
w3-border-orange
w3-border-pale-blue
w3-border-pale-green
w3-border-pale-red
w3-border-pale-yellow
w3-border-pink
w3-border-purple
w3-border-red
w3-border-sand
w3-border-teal
w3-border-white
w3-border-yellow