#3f11ef Color
Color Codes | |
---|---|
Hex Code | #3f11ef |
RGB Code | rgb(63, 17, 239) |
HSL Code | hsl(252, 87%, 50%) |
#3f11ef Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(63, 17, 239); }
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(252, 87%, 50%); }
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 #3f11ef
RGB Code | Hex Code | Preview |
---|---|---|
rgb(63, 17, 239, 10%) | #3f11ef1a | |
rgb(63, 17, 239, 20%) | #3f11ef33 | |
rgb(63, 17, 239, 40%) | #3f11ef4C | |
rgb(63, 17, 239, 60%) | #3f11ef99 | |
rgb(63, 17, 239, 80%) | #3f11efCC | |
rgb(63, 17, 239, 100%) | #3f11efFF |
Saturated and desaturated colors of #3f11ef
HSL Code | Preview |
---|---|
hsl(252, 10%, 50%) | |
hsl(252, 20%, 50%) | |
hsl(252, 40%, 50%) | |
hsl(252, 60%, 50%) | |
hsl(252, 80%, 50%) | |
hsl(252, 100%, 50%) |
#3f11ef Color Usage In CSS
body { color: #3f11ef; } p { color: rgb(63, 17, 239); } header { border-bottom:1px solid #3f11ef; }