#425b52 Color
Color Codes | |
---|---|
Hex Code | #425b52 |
RGB Code | rgb(66, 91, 82) |
HSL Code | hsl(158, 16%, 31%) |
#425b52 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(66, 91, 82); }
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(158, 16%, 31%); }
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 #425b52
RGB Code | Hex Code | Preview |
---|---|---|
rgb(66, 91, 82, 10%) | #425b521a | |
rgb(66, 91, 82, 20%) | #425b5233 | |
rgb(66, 91, 82, 40%) | #425b524C | |
rgb(66, 91, 82, 60%) | #425b5299 | |
rgb(66, 91, 82, 80%) | #425b52CC | |
rgb(66, 91, 82, 100%) | #425b52FF |
Saturated and desaturated colors of #425b52
HSL Code | Preview |
---|---|
hsl(158, 10%, 31%) | |
hsl(158, 20%, 31%) | |
hsl(158, 40%, 31%) | |
hsl(158, 60%, 31%) | |
hsl(158, 80%, 31%) | |
hsl(158, 100%, 31%) |
#425b52 Color Usage In CSS
body { color: #425b52; } p { color: rgb(66, 91, 82); } header { border-bottom:1px solid #425b52; }