#5e95ca Color
Color Codes | |
---|---|
Hex Code | #5e95ca |
RGB Code | rgb(94, 149, 202) |
HSL Code | hsl(209, 50%, 58%) |
#5e95ca Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(94, 149, 202); }
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(209, 50%, 58%); }
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 #5e95ca
RGB Code | Hex Code | Preview |
---|---|---|
rgb(94, 149, 202, 10%) | #5e95ca1a | |
rgb(94, 149, 202, 20%) | #5e95ca33 | |
rgb(94, 149, 202, 40%) | #5e95ca4C | |
rgb(94, 149, 202, 60%) | #5e95ca99 | |
rgb(94, 149, 202, 80%) | #5e95caCC | |
rgb(94, 149, 202, 100%) | #5e95caFF |
Saturated and desaturated colors of #5e95ca
HSL Code | Preview |
---|---|
hsl(209, 10%, 58%) | |
hsl(209, 20%, 58%) | |
hsl(209, 40%, 58%) | |
hsl(209, 60%, 58%) | |
hsl(209, 80%, 58%) | |
hsl(209, 100%, 58%) |
#5e95ca Color Usage In CSS
body { color: #5e95ca; } p { color: rgb(94, 149, 202); } header { border-bottom:1px solid #5e95ca; }