#471dca Color
Color Codes | |
---|---|
Hex Code | #471dca |
RGB Code | rgb(71, 29, 202) |
HSL Code | hsl(255, 75%, 45%) |
#471dca Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(71, 29, 202); }
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(255, 75%, 45%); }
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 #471dca
RGB Code | Hex Code | Preview |
---|---|---|
rgb(71, 29, 202, 10%) | #471dca1a | |
rgb(71, 29, 202, 20%) | #471dca33 | |
rgb(71, 29, 202, 40%) | #471dca4C | |
rgb(71, 29, 202, 60%) | #471dca99 | |
rgb(71, 29, 202, 80%) | #471dcaCC | |
rgb(71, 29, 202, 100%) | #471dcaFF |
Saturated and desaturated colors of #471dca
HSL Code | Preview |
---|---|
hsl(255, 10%, 45%) | |
hsl(255, 20%, 45%) | |
hsl(255, 40%, 45%) | |
hsl(255, 60%, 45%) | |
hsl(255, 80%, 45%) | |
hsl(255, 100%, 45%) |
#471dca Color Usage In CSS
body { color: #471dca; } p { color: rgb(71, 29, 202); } header { border-bottom:1px solid #471dca; }