#339782 Color
Color Codes | |
---|---|
Hex Code | #339782 |
RGB Code | rgb(51, 151, 130) |
HSL Code | hsl(167, 50%, 40%) |
#339782 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(51, 151, 130); }
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(167, 50%, 40%); }
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 #339782
RGB Code | Hex Code | Preview |
---|---|---|
rgb(51, 151, 130, 10%) | #3397821a | |
rgb(51, 151, 130, 20%) | #33978233 | |
rgb(51, 151, 130, 40%) | #3397824C | |
rgb(51, 151, 130, 60%) | #33978299 | |
rgb(51, 151, 130, 80%) | #339782CC | |
rgb(51, 151, 130, 100%) | #339782FF |
Saturated and desaturated colors of #339782
HSL Code | Preview |
---|---|
hsl(167, 10%, 40%) | |
hsl(167, 20%, 40%) | |
hsl(167, 40%, 40%) | |
hsl(167, 60%, 40%) | |
hsl(167, 80%, 40%) | |
hsl(167, 100%, 40%) |
#339782 Color Usage In CSS
body { color: #339782; } p { color: rgb(51, 151, 130); } header { border-bottom:1px solid #339782; }