Gray (#808080) Color Code
#808080 is the hex code for Gray. It converts to rgb(128, 128, 128) in RGB and hsl(0, 0%, 50%) in HSL. Copy any format below.
#808080
HEX
#808080RGB
rgb(128, 128, 128)HSL
hsl(0, 0%, 50%)What color is #808080?
#808080 is composed of 128 red, 128 green and 128 blue (each on a 0–255 scale). In the HSL color model it has a hue of 0°, 0% saturation and 50% lightness. This shade is commonly known as Gray.
Use #808080 directly in CSS with color: #808080, or use the equivalent rgb(128, 128, 128) when you need an alpha channel via rgba(), or hsl(0, 0%, 50%) when you want to derive lighter and darker variants by adjusting lightness.
Popular color codes
Midnight Blue #191970Dim Gray #696969Slate Gray #708090Light Slate Gray #778899Maroon #800000Purple #800080Olive #808000Black #000000White #FFFFFFRed #FF0000Lime #00FF00Blue #0000FFYellow #FFFF00Cyan #00FFFFMagenta #FF00FFSilver #C0C0C0Green #008000Teal #008080Navy #000080Orange #FFA500Pink #FFC0CBBrown #A52A2AGold #FFD700Khaki #F0E68C
← Convert another color with the HEX to RGB tool