#3f20cb Color
Color Codes | |
---|---|
Hex Code | #3f20cb |
RGB Code | rgb(63, 32, 203) |
HSL Code | hsl(251, 73%, 46%) |
#3f20cb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(63, 32, 203); }
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(251, 73%, 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 #3f20cb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(63, 32, 203, 10%) | #3f20cb1a | |
rgb(63, 32, 203, 20%) | #3f20cb33 | |
rgb(63, 32, 203, 40%) | #3f20cb4C | |
rgb(63, 32, 203, 60%) | #3f20cb99 | |
rgb(63, 32, 203, 80%) | #3f20cbCC | |
rgb(63, 32, 203, 100%) | #3f20cbFF |
Saturated and desaturated colors of #3f20cb
HSL Code | Preview |
---|---|
hsl(251, 10%, 46%) | |
hsl(251, 20%, 46%) | |
hsl(251, 40%, 46%) | |
hsl(251, 60%, 46%) | |
hsl(251, 80%, 46%) | |
hsl(251, 100%, 46%) |
#3f20cb Color Usage In CSS
body { color: #3f20cb; } p { color: rgb(63, 32, 203); } header { border-bottom:1px solid #3f20cb; }