#5e699d Color
Color Codes | |
---|---|
Hex Code | #5e699d |
RGB Code | rgb(94, 105, 157) |
HSL Code | hsl(230, 25%, 49%) |
#5e699d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(94, 105, 157); }
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(230, 25%, 49%); }
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 #5e699d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(94, 105, 157, 10%) | #5e699d1a | |
rgb(94, 105, 157, 20%) | #5e699d33 | |
rgb(94, 105, 157, 40%) | #5e699d4C | |
rgb(94, 105, 157, 60%) | #5e699d99 | |
rgb(94, 105, 157, 80%) | #5e699dCC | |
rgb(94, 105, 157, 100%) | #5e699dFF |
Saturated and desaturated colors of #5e699d
HSL Code | Preview |
---|---|
hsl(230, 10%, 49%) | |
hsl(230, 20%, 49%) | |
hsl(230, 40%, 49%) | |
hsl(230, 60%, 49%) | |
hsl(230, 80%, 49%) | |
hsl(230, 100%, 49%) |
#5e699d Color Usage In CSS
body { color: #5e699d; } p { color: rgb(94, 105, 157); } header { border-bottom:1px solid #5e699d; }