#3416cf Color
Color Codes | |
---|---|
Hex Code | #3416cf |
RGB Code | rgb(52, 22, 207) |
HSL Code | hsl(250, 81%, 45%) |
#3416cf Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(52, 22, 207); }
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(250, 81%, 45%); }
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 #3416cf
RGB Code | Hex Code | Preview |
---|---|---|
rgb(52, 22, 207, 10%) | #3416cf1a | |
rgb(52, 22, 207, 20%) | #3416cf33 | |
rgb(52, 22, 207, 40%) | #3416cf4C | |
rgb(52, 22, 207, 60%) | #3416cf99 | |
rgb(52, 22, 207, 80%) | #3416cfCC | |
rgb(52, 22, 207, 100%) | #3416cfFF |
Saturated and desaturated colors of #3416cf
HSL Code | Preview |
---|---|
hsl(250, 10%, 45%) | |
hsl(250, 20%, 45%) | |
hsl(250, 40%, 45%) | |
hsl(250, 60%, 45%) | |
hsl(250, 80%, 45%) | |
hsl(250, 100%, 45%) |
#3416cf Color Usage In CSS
body { color: #3416cf; } p { color: rgb(52, 22, 207); } header { border-bottom:1px solid #3416cf; }