#5d8df4 Color
Color Codes | |
---|---|
Hex Code | #5d8df4 |
RGB Code | rgb(93, 141, 244) |
HSL Code | hsl(221, 87%, 66%) |
#5d8df4 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(93, 141, 244); }
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(221, 87%, 66%); }
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 #5d8df4
RGB Code | Hex Code | Preview |
---|---|---|
rgb(93, 141, 244, 10%) | #5d8df41a | |
rgb(93, 141, 244, 20%) | #5d8df433 | |
rgb(93, 141, 244, 40%) | #5d8df44C | |
rgb(93, 141, 244, 60%) | #5d8df499 | |
rgb(93, 141, 244, 80%) | #5d8df4CC | |
rgb(93, 141, 244, 100%) | #5d8df4FF |
Saturated and desaturated colors of #5d8df4
HSL Code | Preview |
---|---|
hsl(221, 10%, 66%) | |
hsl(221, 20%, 66%) | |
hsl(221, 40%, 66%) | |
hsl(221, 60%, 66%) | |
hsl(221, 80%, 66%) | |
hsl(221, 100%, 66%) |
#5d8df4 Color Usage In CSS
body { color: #5d8df4; } p { color: rgb(93, 141, 244); } header { border-bottom:1px solid #5d8df4; }