#371c1b Color
Color Codes | |
---|---|
Hex Code | #371c1b |
RGB Code | rgb(55, 28, 27) |
HSL Code | hsl(2, 34%, 16%) |
#371c1b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(55, 28, 27); }
R(red), G(green), B(blue) can be number between 0-255.
A parameter is a hex characters (0–9, A–F) and optional.
hsl()
hsl(hue saturation lightness); hsl(hue saturation lightness / alpha); div { background-color: hsl(2, 34%, 16%); }
Saturation value is a percentage value between 0% unsaturated and 100% fully saturated.
Lightness value is a percentage value between 100% is white and 0% is black.
Lighter and darker colors of #371c1b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(55, 28, 27, 10%) | #371c1b1a | |
rgb(55, 28, 27, 20%) | #371c1b33 | |
rgb(55, 28, 27, 40%) | #371c1b4C | |
rgb(55, 28, 27, 60%) | #371c1b99 | |
rgb(55, 28, 27, 80%) | #371c1bCC | |
rgb(55, 28, 27, 100%) | #371c1bFF |
Saturated and desaturated colors of #371c1b
HSL Code | Preview |
---|---|
hsl(2, 10%, 16%) | |
hsl(2, 20%, 16%) | |
hsl(2, 40%, 16%) | |
hsl(2, 60%, 16%) | |
hsl(2, 80%, 16%) | |
hsl(2, 100%, 16%) |
#371c1b Color Usage In CSS
body { color: #371c1b; } p { color: rgb(55, 28, 27); } header { border-bottom:1px solid #371c1b; }