#3b4cfa Color
Color Codes | |
---|---|
Hex Code | #3b4cfa |
RGB Code | rgb(59, 76, 250) |
HSL Code | hsl(235, 95%, 61%) |
#3b4cfa Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(59, 76, 250); }
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, 95%, 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 #3b4cfa
RGB Code | Hex Code | Preview |
---|---|---|
rgb(59, 76, 250, 10%) | #3b4cfa1a | |
rgb(59, 76, 250, 20%) | #3b4cfa33 | |
rgb(59, 76, 250, 40%) | #3b4cfa4C | |
rgb(59, 76, 250, 60%) | #3b4cfa99 | |
rgb(59, 76, 250, 80%) | #3b4cfaCC | |
rgb(59, 76, 250, 100%) | #3b4cfaFF |
Saturated and desaturated colors of #3b4cfa
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%) |
#3b4cfa Color Usage In CSS
body { color: #3b4cfa; } p { color: rgb(59, 76, 250); } header { border-bottom:1px solid #3b4cfa; }