#485c18 Color
Color Codes | |
---|---|
Hex Code | #485c18 |
RGB Code | rgb(72, 92, 24) |
HSL Code | hsl(78, 59%, 23%) |
#485c18 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(72, 92, 24); }
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(78, 59%, 23%); }
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 #485c18
RGB Code | Hex Code | Preview |
---|---|---|
rgb(72, 92, 24, 10%) | #485c181a | |
rgb(72, 92, 24, 20%) | #485c1833 | |
rgb(72, 92, 24, 40%) | #485c184C | |
rgb(72, 92, 24, 60%) | #485c1899 | |
rgb(72, 92, 24, 80%) | #485c18CC | |
rgb(72, 92, 24, 100%) | #485c18FF |
Saturated and desaturated colors of #485c18
HSL Code | Preview |
---|---|
hsl(78, 10%, 23%) | |
hsl(78, 20%, 23%) | |
hsl(78, 40%, 23%) | |
hsl(78, 60%, 23%) | |
hsl(78, 80%, 23%) | |
hsl(78, 100%, 23%) |
#485c18 Color Usage In CSS
body { color: #485c18; } p { color: rgb(72, 92, 24); } header { border-bottom:1px solid #485c18; }