#3b4cfd Color
Color Codes | |
---|---|
Hex Code | #3b4cfd |
RGB Code | rgb(59, 76, 253) |
HSL Code | hsl(235, 98%, 61%) |
#3b4cfd Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(59, 76, 253); }
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(235, 98%, 61%); }
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 #3b4cfd
RGB Code | Hex Code | Preview |
---|---|---|
rgb(59, 76, 253, 10%) | #3b4cfd1a | |
rgb(59, 76, 253, 20%) | #3b4cfd33 | |
rgb(59, 76, 253, 40%) | #3b4cfd4C | |
rgb(59, 76, 253, 60%) | #3b4cfd99 | |
rgb(59, 76, 253, 80%) | #3b4cfdCC | |
rgb(59, 76, 253, 100%) | #3b4cfdFF |
Saturated and desaturated colors of #3b4cfd
HSL Code | Preview |
---|---|
hsl(235, 10%, 61%) | |
hsl(235, 20%, 61%) | |
hsl(235, 40%, 61%) | |
hsl(235, 60%, 61%) | |
hsl(235, 80%, 61%) | |
hsl(235, 100%, 61%) |
#3b4cfd Color Usage In CSS
body { color: #3b4cfd; } p { color: rgb(59, 76, 253); } header { border-bottom:1px solid #3b4cfd; }