#384dfb Color
Color Codes | |
---|---|
Hex Code | #384dfb |
RGB Code | rgb(56, 77, 251) |
HSL Code | hsl(234, 96%, 60%) |
#384dfb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(56, 77, 251); }
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(234, 96%, 60%); }
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 #384dfb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(56, 77, 251, 10%) | #384dfb1a | |
rgb(56, 77, 251, 20%) | #384dfb33 | |
rgb(56, 77, 251, 40%) | #384dfb4C | |
rgb(56, 77, 251, 60%) | #384dfb99 | |
rgb(56, 77, 251, 80%) | #384dfbCC | |
rgb(56, 77, 251, 100%) | #384dfbFF |
Saturated and desaturated colors of #384dfb
HSL Code | Preview |
---|---|
hsl(234, 10%, 60%) | |
hsl(234, 20%, 60%) | |
hsl(234, 40%, 60%) | |
hsl(234, 60%, 60%) | |
hsl(234, 80%, 60%) | |
hsl(234, 100%, 60%) |
#384dfb Color Usage In CSS
body { color: #384dfb; } p { color: rgb(56, 77, 251); } header { border-bottom:1px solid #384dfb; }