#3f359b Color
Color Codes | |
---|---|
Hex Code | #3f359b |
RGB Code | rgb(63, 53, 155) |
HSL Code | hsl(246, 49%, 41%) |
#3f359b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(63, 53, 155); }
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(246, 49%, 41%); }
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 #3f359b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(63, 53, 155, 10%) | #3f359b1a | |
rgb(63, 53, 155, 20%) | #3f359b33 | |
rgb(63, 53, 155, 40%) | #3f359b4C | |
rgb(63, 53, 155, 60%) | #3f359b99 | |
rgb(63, 53, 155, 80%) | #3f359bCC | |
rgb(63, 53, 155, 100%) | #3f359bFF |
Saturated and desaturated colors of #3f359b
HSL Code | Preview |
---|---|
hsl(246, 10%, 41%) | |
hsl(246, 20%, 41%) | |
hsl(246, 40%, 41%) | |
hsl(246, 60%, 41%) | |
hsl(246, 80%, 41%) | |
hsl(246, 100%, 41%) |
#3f359b Color Usage In CSS
body { color: #3f359b; } p { color: rgb(63, 53, 155); } header { border-bottom:1px solid #3f359b; }