#4715d8 Color
Color Codes | |
---|---|
Hex Code | #4715d8 |
RGB Code | rgb(71, 21, 216) |
HSL Code | hsl(255, 82%, 46%) |
#4715d8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(71, 21, 216); }
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, 82%, 46%); }
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 #4715d8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(71, 21, 216, 10%) | #4715d81a | |
rgb(71, 21, 216, 20%) | #4715d833 | |
rgb(71, 21, 216, 40%) | #4715d84C | |
rgb(71, 21, 216, 60%) | #4715d899 | |
rgb(71, 21, 216, 80%) | #4715d8CC | |
rgb(71, 21, 216, 100%) | #4715d8FF |
Saturated and desaturated colors of #4715d8
HSL Code | Preview |
---|---|
hsl(255, 10%, 46%) | |
hsl(255, 20%, 46%) | |
hsl(255, 40%, 46%) | |
hsl(255, 60%, 46%) | |
hsl(255, 80%, 46%) | |
hsl(255, 100%, 46%) |
#4715d8 Color Usage In CSS
body { color: #4715d8; } p { color: rgb(71, 21, 216); } header { border-bottom:1px solid #4715d8; }