#175b46 Color
Color Codes | |
---|---|
Hex Code | #175b46 |
RGB Code | rgb(23, 91, 70) |
HSL Code | hsl(161, 60%, 22%) |
#175b46 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(23, 91, 70); }
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(161, 60%, 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 #175b46
RGB Code | Hex Code | Preview |
---|---|---|
rgb(23, 91, 70, 10%) | #175b461a | |
rgb(23, 91, 70, 20%) | #175b4633 | |
rgb(23, 91, 70, 40%) | #175b464C | |
rgb(23, 91, 70, 60%) | #175b4699 | |
rgb(23, 91, 70, 80%) | #175b46CC | |
rgb(23, 91, 70, 100%) | #175b46FF |
Saturated and desaturated colors of #175b46
HSL Code | Preview |
---|---|
hsl(161, 10%, 22%) | |
hsl(161, 20%, 22%) | |
hsl(161, 40%, 22%) | |
hsl(161, 60%, 22%) | |
hsl(161, 80%, 22%) | |
hsl(161, 100%, 22%) |
#175b46 Color Usage In CSS
body { color: #175b46; } p { color: rgb(23, 91, 70); } header { border-bottom:1px solid #175b46; }