#8068df Color
Color Codes | |
---|---|
Hex Code | #8068df |
RGB Code | rgb(128, 104, 223) |
HSL Code | hsl(252, 65%, 64%) |
#8068df Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(128, 104, 223); }
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(252, 65%, 64%); }
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 #8068df
RGB Code | Hex Code | Preview |
---|---|---|
rgb(128, 104, 223, 10%) | #8068df1a | |
rgb(128, 104, 223, 20%) | #8068df33 | |
rgb(128, 104, 223, 40%) | #8068df4C | |
rgb(128, 104, 223, 60%) | #8068df99 | |
rgb(128, 104, 223, 80%) | #8068dfCC | |
rgb(128, 104, 223, 100%) | #8068dfFF |
Saturated and desaturated colors of #8068df
HSL Code | Preview |
---|---|
hsl(252, 10%, 64%) | |
hsl(252, 20%, 64%) | |
hsl(252, 40%, 64%) | |
hsl(252, 60%, 64%) | |
hsl(252, 80%, 64%) | |
hsl(252, 100%, 64%) |
#8068df Color Usage In CSS
body { color: #8068df; } p { color: rgb(128, 104, 223); } header { border-bottom:1px solid #8068df; }