#299f8e Color
Color Codes | |
---|---|
Hex Code | #299f8e |
RGB Code | rgb(41, 159, 142) |
HSL Code | hsl(171, 59%, 39%) |
#299f8e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(41, 159, 142); }
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(171, 59%, 39%); }
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 #299f8e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(41, 159, 142, 10%) | #299f8e1a | |
rgb(41, 159, 142, 20%) | #299f8e33 | |
rgb(41, 159, 142, 40%) | #299f8e4C | |
rgb(41, 159, 142, 60%) | #299f8e99 | |
rgb(41, 159, 142, 80%) | #299f8eCC | |
rgb(41, 159, 142, 100%) | #299f8eFF |
Saturated and desaturated colors of #299f8e
HSL Code | Preview |
---|---|
hsl(171, 10%, 39%) | |
hsl(171, 20%, 39%) | |
hsl(171, 40%, 39%) | |
hsl(171, 60%, 39%) | |
hsl(171, 80%, 39%) | |
hsl(171, 100%, 39%) |
#299f8e Color Usage In CSS
body { color: #299f8e; } p { color: rgb(41, 159, 142); } header { border-bottom:1px solid #299f8e; }