#2da788 Color
Color Codes | |
---|---|
Hex Code | #2da788 |
RGB Code | rgb(45, 167, 136) |
HSL Code | hsl(165, 58%, 42%) |
#2da788 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(45, 167, 136); }
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(165, 58%, 42%); }
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 #2da788
RGB Code | Hex Code | Preview |
---|---|---|
rgb(45, 167, 136, 10%) | #2da7881a | |
rgb(45, 167, 136, 20%) | #2da78833 | |
rgb(45, 167, 136, 40%) | #2da7884C | |
rgb(45, 167, 136, 60%) | #2da78899 | |
rgb(45, 167, 136, 80%) | #2da788CC | |
rgb(45, 167, 136, 100%) | #2da788FF |
Saturated and desaturated colors of #2da788
HSL Code | Preview |
---|---|
hsl(165, 10%, 42%) | |
hsl(165, 20%, 42%) | |
hsl(165, 40%, 42%) | |
hsl(165, 60%, 42%) | |
hsl(165, 80%, 42%) | |
hsl(165, 100%, 42%) |
#2da788 Color Usage In CSS
body { color: #2da788; } p { color: rgb(45, 167, 136); } header { border-bottom:1px solid #2da788; }