#5b29fe Color
Color Codes | |
---|---|
Hex Code | #5b29fe |
RGB Code | rgb(91, 41, 254) |
HSL Code | hsl(254, 99%, 58%) |
#5b29fe Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(91, 41, 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(254, 99%, 58%); }
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 #5b29fe
RGB Code | Hex Code | Preview |
---|---|---|
rgb(91, 41, 254, 10%) | #5b29fe1a | |
rgb(91, 41, 254, 20%) | #5b29fe33 | |
rgb(91, 41, 254, 40%) | #5b29fe4C | |
rgb(91, 41, 254, 60%) | #5b29fe99 | |
rgb(91, 41, 254, 80%) | #5b29feCC | |
rgb(91, 41, 254, 100%) | #5b29feFF |
Saturated and desaturated colors of #5b29fe
HSL Code | Preview |
---|---|
hsl(254, 10%, 58%) | |
hsl(254, 20%, 58%) | |
hsl(254, 40%, 58%) | |
hsl(254, 60%, 58%) | |
hsl(254, 80%, 58%) | |
hsl(254, 100%, 58%) |
#5b29fe Color Usage In CSS
body { color: #5b29fe; } p { color: rgb(91, 41, 254); } header { border-bottom:1px solid #5b29fe; }