#166648 Color
Color Codes | |
---|---|
Hex Code | #166648 |
RGB Code | rgb(22, 102, 72) |
HSL Code | hsl(158, 65%, 24%) |
#166648 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(22, 102, 72); }
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(158, 65%, 24%); }
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 #166648
RGB Code | Hex Code | Preview |
---|---|---|
rgb(22, 102, 72, 10%) | #1666481a | |
rgb(22, 102, 72, 20%) | #16664833 | |
rgb(22, 102, 72, 40%) | #1666484C | |
rgb(22, 102, 72, 60%) | #16664899 | |
rgb(22, 102, 72, 80%) | #166648CC | |
rgb(22, 102, 72, 100%) | #166648FF |
Saturated and desaturated colors of #166648
HSL Code | Preview |
---|---|
hsl(158, 10%, 24%) | |
hsl(158, 20%, 24%) | |
hsl(158, 40%, 24%) | |
hsl(158, 60%, 24%) | |
hsl(158, 80%, 24%) | |
hsl(158, 100%, 24%) |
#166648 Color Usage In CSS
body { color: #166648; } p { color: rgb(22, 102, 72); } header { border-bottom:1px solid #166648; }