#5e6af7 Color
Color Codes | |
---|---|
Hex Code | #5e6af7 |
RGB Code | rgb(94, 106, 247) |
HSL Code | hsl(235, 91%, 67%) |
#5e6af7 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(94, 106, 247); }
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, 91%, 67%); }
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 #5e6af7
RGB Code | Hex Code | Preview |
---|---|---|
rgb(94, 106, 247, 10%) | #5e6af71a | |
rgb(94, 106, 247, 20%) | #5e6af733 | |
rgb(94, 106, 247, 40%) | #5e6af74C | |
rgb(94, 106, 247, 60%) | #5e6af799 | |
rgb(94, 106, 247, 80%) | #5e6af7CC | |
rgb(94, 106, 247, 100%) | #5e6af7FF |
Saturated and desaturated colors of #5e6af7
HSL Code | Preview |
---|---|
hsl(235, 10%, 67%) | |
hsl(235, 20%, 67%) | |
hsl(235, 40%, 67%) | |
hsl(235, 60%, 67%) | |
hsl(235, 80%, 67%) | |
hsl(235, 100%, 67%) |
#5e6af7 Color Usage In CSS
body { color: #5e6af7; } p { color: rgb(94, 106, 247); } header { border-bottom:1px solid #5e6af7; }