#2d7c79 Color
Color Codes | |
---|---|
Hex Code | #2d7c79 |
RGB Code | rgb(45, 124, 121) |
HSL Code | hsl(178, 47%, 33%) |
#2d7c79 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(45, 124, 121); }
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(178, 47%, 33%); }
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 #2d7c79
RGB Code | Hex Code | Preview |
---|---|---|
rgb(45, 124, 121, 10%) | #2d7c791a | |
rgb(45, 124, 121, 20%) | #2d7c7933 | |
rgb(45, 124, 121, 40%) | #2d7c794C | |
rgb(45, 124, 121, 60%) | #2d7c7999 | |
rgb(45, 124, 121, 80%) | #2d7c79CC | |
rgb(45, 124, 121, 100%) | #2d7c79FF |
Saturated and desaturated colors of #2d7c79
HSL Code | Preview |
---|---|
hsl(178, 10%, 33%) | |
hsl(178, 20%, 33%) | |
hsl(178, 40%, 33%) | |
hsl(178, 60%, 33%) | |
hsl(178, 80%, 33%) | |
hsl(178, 100%, 33%) |
#2d7c79 Color Usage In CSS
body { color: #2d7c79; } p { color: rgb(45, 124, 121); } header { border-bottom:1px solid #2d7c79; }