#5ec9a7 Color
Color Codes | |
---|---|
Hex Code | #5ec9a7 |
RGB Code | rgb(94, 201, 167) |
HSL Code | hsl(161, 50%, 58%) |
#5ec9a7 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(94, 201, 167); }
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, 50%, 58%); }
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 #5ec9a7
RGB Code | Hex Code | Preview |
---|---|---|
rgb(94, 201, 167, 10%) | #5ec9a71a | |
rgb(94, 201, 167, 20%) | #5ec9a733 | |
rgb(94, 201, 167, 40%) | #5ec9a74C | |
rgb(94, 201, 167, 60%) | #5ec9a799 | |
rgb(94, 201, 167, 80%) | #5ec9a7CC | |
rgb(94, 201, 167, 100%) | #5ec9a7FF |
Saturated and desaturated colors of #5ec9a7
HSL Code | Preview |
---|---|
hsl(161, 10%, 58%) | |
hsl(161, 20%, 58%) | |
hsl(161, 40%, 58%) | |
hsl(161, 60%, 58%) | |
hsl(161, 80%, 58%) | |
hsl(161, 100%, 58%) |
#5ec9a7 Color Usage In CSS
body { color: #5ec9a7; } p { color: rgb(94, 201, 167); } header { border-bottom:1px solid #5ec9a7; }