#4d5827 Color
Color Codes | |
---|---|
Hex Code | #4d5827 |
RGB Code | rgb(77, 88, 39) |
HSL Code | hsl(73, 39%, 25%) |
#4d5827 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(77, 88, 39); }
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(73, 39%, 25%); }
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 #4d5827
RGB Code | Hex Code | Preview |
---|---|---|
rgb(77, 88, 39, 10%) | #4d58271a | |
rgb(77, 88, 39, 20%) | #4d582733 | |
rgb(77, 88, 39, 40%) | #4d58274C | |
rgb(77, 88, 39, 60%) | #4d582799 | |
rgb(77, 88, 39, 80%) | #4d5827CC | |
rgb(77, 88, 39, 100%) | #4d5827FF |
Saturated and desaturated colors of #4d5827
HSL Code | Preview |
---|---|
hsl(73, 10%, 25%) | |
hsl(73, 20%, 25%) | |
hsl(73, 40%, 25%) | |
hsl(73, 60%, 25%) | |
hsl(73, 80%, 25%) | |
hsl(73, 100%, 25%) |
#4d5827 Color Usage In CSS
body { color: #4d5827; } p { color: rgb(77, 88, 39); } header { border-bottom:1px solid #4d5827; }