#3f24eb Color
Color Codes | |
---|---|
Hex Code | #3f24eb |
RGB Code | rgb(63, 36, 235) |
HSL Code | hsl(248, 83%, 53%) |
#3f24eb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(63, 36, 235); }
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(248, 83%, 53%); }
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 #3f24eb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(63, 36, 235, 10%) | #3f24eb1a | |
rgb(63, 36, 235, 20%) | #3f24eb33 | |
rgb(63, 36, 235, 40%) | #3f24eb4C | |
rgb(63, 36, 235, 60%) | #3f24eb99 | |
rgb(63, 36, 235, 80%) | #3f24ebCC | |
rgb(63, 36, 235, 100%) | #3f24ebFF |
Saturated and desaturated colors of #3f24eb
HSL Code | Preview |
---|---|
hsl(248, 10%, 53%) | |
hsl(248, 20%, 53%) | |
hsl(248, 40%, 53%) | |
hsl(248, 60%, 53%) | |
hsl(248, 80%, 53%) | |
hsl(248, 100%, 53%) |
#3f24eb Color Usage In CSS
body { color: #3f24eb; } p { color: rgb(63, 36, 235); } header { border-bottom:1px solid #3f24eb; }