#4e5873 Color
Color Codes | |
---|---|
Hex Code | #4e5873 |
RGB Code | rgb(78, 88, 115) |
HSL Code | hsl(224, 19%, 38%) |
#4e5873 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(78, 88, 115); }
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(224, 19%, 38%); }
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 #4e5873
RGB Code | Hex Code | Preview |
---|---|---|
rgb(78, 88, 115, 10%) | #4e58731a | |
rgb(78, 88, 115, 20%) | #4e587333 | |
rgb(78, 88, 115, 40%) | #4e58734C | |
rgb(78, 88, 115, 60%) | #4e587399 | |
rgb(78, 88, 115, 80%) | #4e5873CC | |
rgb(78, 88, 115, 100%) | #4e5873FF |
Saturated and desaturated colors of #4e5873
HSL Code | Preview |
---|---|
hsl(224, 10%, 38%) | |
hsl(224, 20%, 38%) | |
hsl(224, 40%, 38%) | |
hsl(224, 60%, 38%) | |
hsl(224, 80%, 38%) | |
hsl(224, 100%, 38%) |
#4e5873 Color Usage In CSS
body { color: #4e5873; } p { color: rgb(78, 88, 115); } header { border-bottom:1px solid #4e5873; }