#384cba Color
Color Codes | |
---|---|
Hex Code | #384cba |
RGB Code | rgb(56, 76, 186) |
HSL Code | hsl(231, 54%, 47%) |
#384cba Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(56, 76, 186); }
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(231, 54%, 47%); }
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 #384cba
RGB Code | Hex Code | Preview |
---|---|---|
rgb(56, 76, 186, 10%) | #384cba1a | |
rgb(56, 76, 186, 20%) | #384cba33 | |
rgb(56, 76, 186, 40%) | #384cba4C | |
rgb(56, 76, 186, 60%) | #384cba99 | |
rgb(56, 76, 186, 80%) | #384cbaCC | |
rgb(56, 76, 186, 100%) | #384cbaFF |
Saturated and desaturated colors of #384cba
HSL Code | Preview |
---|---|
hsl(231, 10%, 47%) | |
hsl(231, 20%, 47%) | |
hsl(231, 40%, 47%) | |
hsl(231, 60%, 47%) | |
hsl(231, 80%, 47%) | |
hsl(231, 100%, 47%) |
#384cba Color Usage In CSS
body { color: #384cba; } p { color: rgb(56, 76, 186); } header { border-bottom:1px solid #384cba; }