#6e27fe Color
Color Codes | |
---|---|
Hex Code | #6e27fe |
RGB Code | rgb(110, 39, 254) |
HSL Code | hsl(260, 99%, 57%) |
#6e27fe Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(110, 39, 254); }
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(260, 99%, 57%); }
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 #6e27fe
RGB Code | Hex Code | Preview |
---|---|---|
rgb(110, 39, 254, 10%) | #6e27fe1a | |
rgb(110, 39, 254, 20%) | #6e27fe33 | |
rgb(110, 39, 254, 40%) | #6e27fe4C | |
rgb(110, 39, 254, 60%) | #6e27fe99 | |
rgb(110, 39, 254, 80%) | #6e27feCC | |
rgb(110, 39, 254, 100%) | #6e27feFF |
Saturated and desaturated colors of #6e27fe
HSL Code | Preview |
---|---|
hsl(260, 10%, 57%) | |
hsl(260, 20%, 57%) | |
hsl(260, 40%, 57%) | |
hsl(260, 60%, 57%) | |
hsl(260, 80%, 57%) | |
hsl(260, 100%, 57%) |
#6e27fe Color Usage In CSS
body { color: #6e27fe; } p { color: rgb(110, 39, 254); } header { border-bottom:1px solid #6e27fe; }