#334d40 Color
Color Codes | |
---|---|
Hex Code | #334d40 |
RGB Code | rgb(51, 77, 64) |
HSL Code | hsl(150, 20%, 25%) |
#334d40 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(51, 77, 64); }
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(150, 20%, 25%); }
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 #334d40
RGB Code | Hex Code | Preview |
---|---|---|
rgb(51, 77, 64, 10%) | #334d401a | |
rgb(51, 77, 64, 20%) | #334d4033 | |
rgb(51, 77, 64, 40%) | #334d404C | |
rgb(51, 77, 64, 60%) | #334d4099 | |
rgb(51, 77, 64, 80%) | #334d40CC | |
rgb(51, 77, 64, 100%) | #334d40FF |
Saturated and desaturated colors of #334d40
HSL Code | Preview |
---|---|
hsl(150, 10%, 25%) | |
hsl(150, 20%, 25%) | |
hsl(150, 40%, 25%) | |
hsl(150, 60%, 25%) | |
hsl(150, 80%, 25%) | |
hsl(150, 100%, 25%) |
#334d40 Color Usage In CSS
body { color: #334d40; } p { color: rgb(51, 77, 64); } header { border-bottom:1px solid #334d40; }