#5d77fa Color
Color Codes | |
---|---|
Hex Code | #5d77fa |
RGB Code | rgb(93, 119, 250) |
HSL Code | hsl(230, 94%, 67%) |
#5d77fa Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(93, 119, 250); }
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, 94%, 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 #5d77fa
RGB Code | Hex Code | Preview |
---|---|---|
rgb(93, 119, 250, 10%) | #5d77fa1a | |
rgb(93, 119, 250, 20%) | #5d77fa33 | |
rgb(93, 119, 250, 40%) | #5d77fa4C | |
rgb(93, 119, 250, 60%) | #5d77fa99 | |
rgb(93, 119, 250, 80%) | #5d77faCC | |
rgb(93, 119, 250, 100%) | #5d77faFF |
Saturated and desaturated colors of #5d77fa
HSL Code | Preview |
---|---|
hsl(230, 10%, 67%) | |
hsl(230, 20%, 67%) | |
hsl(230, 40%, 67%) | |
hsl(230, 60%, 67%) | |
hsl(230, 80%, 67%) | |
hsl(230, 100%, 67%) |
#5d77fa Color Usage In CSS
body { color: #5d77fa; } p { color: rgb(93, 119, 250); } header { border-bottom:1px solid #5d77fa; }