#5d95fb Color
Color Codes | |
---|---|
Hex Code | #5d95fb |
RGB Code | rgb(93, 149, 251) |
HSL Code | hsl(219, 95%, 67%) |
#5d95fb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(93, 149, 251); }
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(219, 95%, 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 #5d95fb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(93, 149, 251, 10%) | #5d95fb1a | |
rgb(93, 149, 251, 20%) | #5d95fb33 | |
rgb(93, 149, 251, 40%) | #5d95fb4C | |
rgb(93, 149, 251, 60%) | #5d95fb99 | |
rgb(93, 149, 251, 80%) | #5d95fbCC | |
rgb(93, 149, 251, 100%) | #5d95fbFF |
Saturated and desaturated colors of #5d95fb
HSL Code | Preview |
---|---|
hsl(219, 10%, 67%) | |
hsl(219, 20%, 67%) | |
hsl(219, 40%, 67%) | |
hsl(219, 60%, 67%) | |
hsl(219, 80%, 67%) | |
hsl(219, 100%, 67%) |
#5d95fb Color Usage In CSS
body { color: #5d95fb; } p { color: rgb(93, 149, 251); } header { border-bottom:1px solid #5d95fb; }