#393cec Color
Color Codes | |
---|---|
Hex Code | #393cec |
RGB Code | rgb(57, 60, 236) |
HSL Code | hsl(239, 82%, 57%) |
#393cec Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(57, 60, 236); }
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(239, 82%, 57%); }
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 #393cec
RGB Code | Hex Code | Preview |
---|---|---|
rgb(57, 60, 236, 10%) | #393cec1a | |
rgb(57, 60, 236, 20%) | #393cec33 | |
rgb(57, 60, 236, 40%) | #393cec4C | |
rgb(57, 60, 236, 60%) | #393cec99 | |
rgb(57, 60, 236, 80%) | #393cecCC | |
rgb(57, 60, 236, 100%) | #393cecFF |
Saturated and desaturated colors of #393cec
HSL Code | Preview |
---|---|
hsl(239, 10%, 57%) | |
hsl(239, 20%, 57%) | |
hsl(239, 40%, 57%) | |
hsl(239, 60%, 57%) | |
hsl(239, 80%, 57%) | |
hsl(239, 100%, 57%) |
#393cec Color Usage In CSS
body { color: #393cec; } p { color: rgb(57, 60, 236); } header { border-bottom:1px solid #393cec; }