#a74fd3 Color
Color Codes | |
---|---|
Hex Code | #a74fd3 |
RGB Code | rgb(167, 79, 211) |
HSL Code | hsl(280, 60%, 57%) |
#a74fd3 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(167, 79, 211); }
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(280, 60%, 57%); }
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 #a74fd3
RGB Code | Hex Code | Preview |
---|---|---|
rgb(167, 79, 211, 10%) | #a74fd31a | |
rgb(167, 79, 211, 20%) | #a74fd333 | |
rgb(167, 79, 211, 40%) | #a74fd34C | |
rgb(167, 79, 211, 60%) | #a74fd399 | |
rgb(167, 79, 211, 80%) | #a74fd3CC | |
rgb(167, 79, 211, 100%) | #a74fd3FF |
Saturated and desaturated colors of #a74fd3
HSL Code | Preview |
---|---|
hsl(280, 10%, 57%) | |
hsl(280, 20%, 57%) | |
hsl(280, 40%, 57%) | |
hsl(280, 60%, 57%) | |
hsl(280, 80%, 57%) | |
hsl(280, 100%, 57%) |
#a74fd3 Color Usage In CSS
body { color: #a74fd3; } p { color: rgb(167, 79, 211); } header { border-bottom:1px solid #a74fd3; }