#3751f8 Color
Color Codes | |
---|---|
Hex Code | #3751f8 |
RGB Code | rgb(55, 81, 248) |
HSL Code | hsl(232, 93%, 59%) |
#3751f8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(55, 81, 248); }
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(232, 93%, 59%); }
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 #3751f8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(55, 81, 248, 10%) | #3751f81a | |
rgb(55, 81, 248, 20%) | #3751f833 | |
rgb(55, 81, 248, 40%) | #3751f84C | |
rgb(55, 81, 248, 60%) | #3751f899 | |
rgb(55, 81, 248, 80%) | #3751f8CC | |
rgb(55, 81, 248, 100%) | #3751f8FF |
Saturated and desaturated colors of #3751f8
HSL Code | Preview |
---|---|
hsl(232, 10%, 59%) | |
hsl(232, 20%, 59%) | |
hsl(232, 40%, 59%) | |
hsl(232, 60%, 59%) | |
hsl(232, 80%, 59%) | |
hsl(232, 100%, 59%) |
#3751f8 Color Usage In CSS
body { color: #3751f8; } p { color: rgb(55, 81, 248); } header { border-bottom:1px solid #3751f8; }