#425c4e Color
Color Codes | |
---|---|
Hex Code | #425c4e |
RGB Code | rgb(66, 92, 78) |
HSL Code | hsl(148, 16%, 31%) |
#425c4e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(66, 92, 78); }
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(148, 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 #425c4e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(66, 92, 78, 10%) | #425c4e1a | |
rgb(66, 92, 78, 20%) | #425c4e33 | |
rgb(66, 92, 78, 40%) | #425c4e4C | |
rgb(66, 92, 78, 60%) | #425c4e99 | |
rgb(66, 92, 78, 80%) | #425c4eCC | |
rgb(66, 92, 78, 100%) | #425c4eFF |
Saturated and desaturated colors of #425c4e
HSL Code | Preview |
---|---|
hsl(148, 10%, 31%) | |
hsl(148, 20%, 31%) | |
hsl(148, 40%, 31%) | |
hsl(148, 60%, 31%) | |
hsl(148, 80%, 31%) | |
hsl(148, 100%, 31%) |
#425c4e Color Usage In CSS
body { color: #425c4e; } p { color: rgb(66, 92, 78); } header { border-bottom:1px solid #425c4e; }