#4f24ed Color
Color Codes | |
---|---|
Hex Code | #4f24ed |
RGB Code | rgb(79, 36, 237) |
HSL Code | hsl(253, 85%, 54%) |
#4f24ed Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(79, 36, 237); }
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(253, 85%, 54%); }
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 #4f24ed
RGB Code | Hex Code | Preview |
---|---|---|
rgb(79, 36, 237, 10%) | #4f24ed1a | |
rgb(79, 36, 237, 20%) | #4f24ed33 | |
rgb(79, 36, 237, 40%) | #4f24ed4C | |
rgb(79, 36, 237, 60%) | #4f24ed99 | |
rgb(79, 36, 237, 80%) | #4f24edCC | |
rgb(79, 36, 237, 100%) | #4f24edFF |
Saturated and desaturated colors of #4f24ed
HSL Code | Preview |
---|---|
hsl(253, 10%, 54%) | |
hsl(253, 20%, 54%) | |
hsl(253, 40%, 54%) | |
hsl(253, 60%, 54%) | |
hsl(253, 80%, 54%) | |
hsl(253, 100%, 54%) |
#4f24ed Color Usage In CSS
body { color: #4f24ed; } p { color: rgb(79, 36, 237); } header { border-bottom:1px solid #4f24ed; }