#4e131b Color
Color Codes | |
---|---|
Hex Code | #4e131b |
RGB Code | rgb(78, 19, 27) |
HSL Code | hsl(352, 61%, 19%) |
#4e131b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(78, 19, 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(352, 61%, 19%); }
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 #4e131b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(78, 19, 27, 10%) | #4e131b1a | |
rgb(78, 19, 27, 20%) | #4e131b33 | |
rgb(78, 19, 27, 40%) | #4e131b4C | |
rgb(78, 19, 27, 60%) | #4e131b99 | |
rgb(78, 19, 27, 80%) | #4e131bCC | |
rgb(78, 19, 27, 100%) | #4e131bFF |
Saturated and desaturated colors of #4e131b
HSL Code | Preview |
---|---|
hsl(352, 10%, 19%) | |
hsl(352, 20%, 19%) | |
hsl(352, 40%, 19%) | |
hsl(352, 60%, 19%) | |
hsl(352, 80%, 19%) | |
hsl(352, 100%, 19%) |
#4e131b Color Usage In CSS
body { color: #4e131b; } p { color: rgb(78, 19, 27); } header { border-bottom:1px solid #4e131b; }