#827fef Color
Color Codes | |
---|---|
Hex Code | #827fef |
RGB Code | rgb(130, 127, 239) |
HSL Code | hsl(242, 78%, 72%) |
#827fef Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(130, 127, 239); }
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(242, 78%, 72%); }
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 #827fef
RGB Code | Hex Code | Preview |
---|---|---|
rgb(130, 127, 239, 10%) | #827fef1a | |
rgb(130, 127, 239, 20%) | #827fef33 | |
rgb(130, 127, 239, 40%) | #827fef4C | |
rgb(130, 127, 239, 60%) | #827fef99 | |
rgb(130, 127, 239, 80%) | #827fefCC | |
rgb(130, 127, 239, 100%) | #827fefFF |
Saturated and desaturated colors of #827fef
HSL Code | Preview |
---|---|
hsl(242, 10%, 72%) | |
hsl(242, 20%, 72%) | |
hsl(242, 40%, 72%) | |
hsl(242, 60%, 72%) | |
hsl(242, 80%, 72%) | |
hsl(242, 100%, 72%) |
#827fef Color Usage In CSS
body { color: #827fef; } p { color: rgb(130, 127, 239); } header { border-bottom:1px solid #827fef; }