#3f4781 Color
Color Codes | |
---|---|
Hex Code | #3f4781 |
RGB Code | rgb(63, 71, 129) |
HSL Code | hsl(233, 34%, 38%) |
#3f4781 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(63, 71, 129); }
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(233, 34%, 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 #3f4781
RGB Code | Hex Code | Preview |
---|---|---|
rgb(63, 71, 129, 10%) | #3f47811a | |
rgb(63, 71, 129, 20%) | #3f478133 | |
rgb(63, 71, 129, 40%) | #3f47814C | |
rgb(63, 71, 129, 60%) | #3f478199 | |
rgb(63, 71, 129, 80%) | #3f4781CC | |
rgb(63, 71, 129, 100%) | #3f4781FF |
Saturated and desaturated colors of #3f4781
HSL Code | Preview |
---|---|
hsl(233, 10%, 38%) | |
hsl(233, 20%, 38%) | |
hsl(233, 40%, 38%) | |
hsl(233, 60%, 38%) | |
hsl(233, 80%, 38%) | |
hsl(233, 100%, 38%) |
#3f4781 Color Usage In CSS
body { color: #3f4781; } p { color: rgb(63, 71, 129); } header { border-bottom:1px solid #3f4781; }