#3f20a3 Color
Color Codes | |
---|---|
Hex Code | #3f20a3 |
RGB Code | rgb(63, 32, 163) |
HSL Code | hsl(254, 67%, 38%) |
#3f20a3 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(63, 32, 163); }
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(254, 67%, 38%); }
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 #3f20a3
RGB Code | Hex Code | Preview |
---|---|---|
rgb(63, 32, 163, 10%) | #3f20a31a | |
rgb(63, 32, 163, 20%) | #3f20a333 | |
rgb(63, 32, 163, 40%) | #3f20a34C | |
rgb(63, 32, 163, 60%) | #3f20a399 | |
rgb(63, 32, 163, 80%) | #3f20a3CC | |
rgb(63, 32, 163, 100%) | #3f20a3FF |
Saturated and desaturated colors of #3f20a3
HSL Code | Preview |
---|---|
hsl(254, 10%, 38%) | |
hsl(254, 20%, 38%) | |
hsl(254, 40%, 38%) | |
hsl(254, 60%, 38%) | |
hsl(254, 80%, 38%) | |
hsl(254, 100%, 38%) |
#3f20a3 Color Usage In CSS
body { color: #3f20a3; } p { color: rgb(63, 32, 163); } header { border-bottom:1px solid #3f20a3; }