#484e22 Color
Color Codes | |
---|---|
Hex Code | #484e22 |
RGB Code | rgb(72, 78, 34) |
HSL Code | hsl(68, 39%, 22%) |
#484e22 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(72, 78, 34); }
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(68, 39%, 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 #484e22
RGB Code | Hex Code | Preview |
---|---|---|
rgb(72, 78, 34, 10%) | #484e221a | |
rgb(72, 78, 34, 20%) | #484e2233 | |
rgb(72, 78, 34, 40%) | #484e224C | |
rgb(72, 78, 34, 60%) | #484e2299 | |
rgb(72, 78, 34, 80%) | #484e22CC | |
rgb(72, 78, 34, 100%) | #484e22FF |
Saturated and desaturated colors of #484e22
HSL Code | Preview |
---|---|
hsl(68, 10%, 22%) | |
hsl(68, 20%, 22%) | |
hsl(68, 40%, 22%) | |
hsl(68, 60%, 22%) | |
hsl(68, 80%, 22%) | |
hsl(68, 100%, 22%) |
#484e22 Color Usage In CSS
body { color: #484e22; } p { color: rgb(72, 78, 34); } header { border-bottom:1px solid #484e22; }