#492731 Color
Color Codes | |
---|---|
Hex Code | #492731 |
RGB Code | rgb(73, 39, 49) |
HSL Code | hsl(342, 30%, 22%) |
#492731 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(73, 39, 49); }
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(342, 30%, 22%); }
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 #492731
RGB Code | Hex Code | Preview |
---|---|---|
rgb(73, 39, 49, 10%) | #4927311a | |
rgb(73, 39, 49, 20%) | #49273133 | |
rgb(73, 39, 49, 40%) | #4927314C | |
rgb(73, 39, 49, 60%) | #49273199 | |
rgb(73, 39, 49, 80%) | #492731CC | |
rgb(73, 39, 49, 100%) | #492731FF |
Saturated and desaturated colors of #492731
HSL Code | Preview |
---|---|
hsl(342, 10%, 22%) | |
hsl(342, 20%, 22%) | |
hsl(342, 40%, 22%) | |
hsl(342, 60%, 22%) | |
hsl(342, 80%, 22%) | |
hsl(342, 100%, 22%) |
#492731 Color Usage In CSS
body { color: #492731; } p { color: rgb(73, 39, 49); } header { border-bottom:1px solid #492731; }