#3b6057 Color
Color Codes | |
---|---|
Hex Code | #3b6057 |
RGB Code | rgb(59, 96, 87) |
HSL Code | hsl(165, 24%, 30%) |
#3b6057 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(59, 96, 87); }
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, 24%, 30%); }
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 #3b6057
RGB Code | Hex Code | Preview |
---|---|---|
rgb(59, 96, 87, 10%) | #3b60571a | |
rgb(59, 96, 87, 20%) | #3b605733 | |
rgb(59, 96, 87, 40%) | #3b60574C | |
rgb(59, 96, 87, 60%) | #3b605799 | |
rgb(59, 96, 87, 80%) | #3b6057CC | |
rgb(59, 96, 87, 100%) | #3b6057FF |
Saturated and desaturated colors of #3b6057
HSL Code | Preview |
---|---|
hsl(165, 10%, 30%) | |
hsl(165, 20%, 30%) | |
hsl(165, 40%, 30%) | |
hsl(165, 60%, 30%) | |
hsl(165, 80%, 30%) | |
hsl(165, 100%, 30%) |
#3b6057 Color Usage In CSS
body { color: #3b6057; } p { color: rgb(59, 96, 87); } header { border-bottom:1px solid #3b6057; }