#6811ea Color
Color Codes | |
---|---|
Hex Code | #6811ea |
RGB Code | rgb(104, 17, 234) |
HSL Code | hsl(264, 86%, 49%) |
#6811ea Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(104, 17, 234); }
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(264, 86%, 49%); }
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 #6811ea
RGB Code | Hex Code | Preview |
---|---|---|
rgb(104, 17, 234, 10%) | #6811ea1a | |
rgb(104, 17, 234, 20%) | #6811ea33 | |
rgb(104, 17, 234, 40%) | #6811ea4C | |
rgb(104, 17, 234, 60%) | #6811ea99 | |
rgb(104, 17, 234, 80%) | #6811eaCC | |
rgb(104, 17, 234, 100%) | #6811eaFF |
Saturated and desaturated colors of #6811ea
HSL Code | Preview |
---|---|
hsl(264, 10%, 49%) | |
hsl(264, 20%, 49%) | |
hsl(264, 40%, 49%) | |
hsl(264, 60%, 49%) | |
hsl(264, 80%, 49%) | |
hsl(264, 100%, 49%) |
#6811ea Color Usage In CSS
body { color: #6811ea; } p { color: rgb(104, 17, 234); } header { border-bottom:1px solid #6811ea; }