#314d44 Color
Color Codes | |
---|---|
Hex Code | #314d44 |
RGB Code | rgb(49, 77, 68) |
HSL Code | hsl(161, 22%, 25%) |
#314d44 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(49, 77, 68); }
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(161, 22%, 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 #314d44
RGB Code | Hex Code | Preview |
---|---|---|
rgb(49, 77, 68, 10%) | #314d441a | |
rgb(49, 77, 68, 20%) | #314d4433 | |
rgb(49, 77, 68, 40%) | #314d444C | |
rgb(49, 77, 68, 60%) | #314d4499 | |
rgb(49, 77, 68, 80%) | #314d44CC | |
rgb(49, 77, 68, 100%) | #314d44FF |
Saturated and desaturated colors of #314d44
HSL Code | Preview |
---|---|
hsl(161, 10%, 25%) | |
hsl(161, 20%, 25%) | |
hsl(161, 40%, 25%) | |
hsl(161, 60%, 25%) | |
hsl(161, 80%, 25%) | |
hsl(161, 100%, 25%) |
#314d44 Color Usage In CSS
body { color: #314d44; } p { color: rgb(49, 77, 68); } header { border-bottom:1px solid #314d44; }