#4a3df4 Color
Color Codes | |
---|---|
Hex Code | #4a3df4 |
RGB Code | rgb(74, 61, 244) |
HSL Code | hsl(244, 89%, 60%) |
#4a3df4 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(74, 61, 244); }
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(244, 89%, 60%); }
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 #4a3df4
RGB Code | Hex Code | Preview |
---|---|---|
rgb(74, 61, 244, 10%) | #4a3df41a | |
rgb(74, 61, 244, 20%) | #4a3df433 | |
rgb(74, 61, 244, 40%) | #4a3df44C | |
rgb(74, 61, 244, 60%) | #4a3df499 | |
rgb(74, 61, 244, 80%) | #4a3df4CC | |
rgb(74, 61, 244, 100%) | #4a3df4FF |
Saturated and desaturated colors of #4a3df4
HSL Code | Preview |
---|---|
hsl(244, 10%, 60%) | |
hsl(244, 20%, 60%) | |
hsl(244, 40%, 60%) | |
hsl(244, 60%, 60%) | |
hsl(244, 80%, 60%) | |
hsl(244, 100%, 60%) |
#4a3df4 Color Usage In CSS
body { color: #4a3df4; } p { color: rgb(74, 61, 244); } header { border-bottom:1px solid #4a3df4; }