#185a38 Color
Color Codes | |
---|---|
Hex Code | #185a38 |
RGB Code | rgb(24, 90, 56) |
HSL Code | hsl(149, 58%, 22%) |
#185a38 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(24, 90, 56); }
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(149, 58%, 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 #185a38
RGB Code | Hex Code | Preview |
---|---|---|
rgb(24, 90, 56, 10%) | #185a381a | |
rgb(24, 90, 56, 20%) | #185a3833 | |
rgb(24, 90, 56, 40%) | #185a384C | |
rgb(24, 90, 56, 60%) | #185a3899 | |
rgb(24, 90, 56, 80%) | #185a38CC | |
rgb(24, 90, 56, 100%) | #185a38FF |
Saturated and desaturated colors of #185a38
HSL Code | Preview |
---|---|
hsl(149, 10%, 22%) | |
hsl(149, 20%, 22%) | |
hsl(149, 40%, 22%) | |
hsl(149, 60%, 22%) | |
hsl(149, 80%, 22%) | |
hsl(149, 100%, 22%) |
#185a38 Color Usage In CSS
body { color: #185a38; } p { color: rgb(24, 90, 56); } header { border-bottom:1px solid #185a38; }