#401cfc Color
Color Codes | |
---|---|
Hex Code | #401cfc |
RGB Code | rgb(64, 28, 252) |
HSL Code | hsl(250, 97%, 55%) |
#401cfc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(64, 28, 252); }
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(250, 97%, 55%); }
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 #401cfc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(64, 28, 252, 10%) | #401cfc1a | |
rgb(64, 28, 252, 20%) | #401cfc33 | |
rgb(64, 28, 252, 40%) | #401cfc4C | |
rgb(64, 28, 252, 60%) | #401cfc99 | |
rgb(64, 28, 252, 80%) | #401cfcCC | |
rgb(64, 28, 252, 100%) | #401cfcFF |
Saturated and desaturated colors of #401cfc
HSL Code | Preview |
---|---|
hsl(250, 10%, 55%) | |
hsl(250, 20%, 55%) | |
hsl(250, 40%, 55%) | |
hsl(250, 60%, 55%) | |
hsl(250, 80%, 55%) | |
hsl(250, 100%, 55%) |
#401cfc Color Usage In CSS
body { color: #401cfc; } p { color: rgb(64, 28, 252); } header { border-bottom:1px solid #401cfc; }