#3702ca Color
Color Codes | |
---|---|
Hex Code | #3702ca |
RGB Code | rgb(55, 02, 202) |
HSL Code | hsl(256, 98%, 40%) |
#3702ca Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(55, 02, 202); }
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(256, 98%, 40%); }
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 #3702ca
RGB Code | Hex Code | Preview |
---|---|---|
rgb(55, 02, 202, 10%) | #3702ca1a | |
rgb(55, 02, 202, 20%) | #3702ca33 | |
rgb(55, 02, 202, 40%) | #3702ca4C | |
rgb(55, 02, 202, 60%) | #3702ca99 | |
rgb(55, 02, 202, 80%) | #3702caCC | |
rgb(55, 02, 202, 100%) | #3702caFF |
Saturated and desaturated colors of #3702ca
HSL Code | Preview |
---|---|
hsl(256, 10%, 40%) | |
hsl(256, 20%, 40%) | |
hsl(256, 40%, 40%) | |
hsl(256, 60%, 40%) | |
hsl(256, 80%, 40%) | |
hsl(256, 100%, 40%) |
#3702ca Color Usage In CSS
body { color: #3702ca; } p { color: rgb(55, 02, 202); } header { border-bottom:1px solid #3702ca; }