#5e13ca Color
Color Codes | |
---|---|
Hex Code | #5e13ca |
RGB Code | rgb(94, 19, 202) |
HSL Code | hsl(265, 83%, 43%) |
#5e13ca Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(94, 19, 202); }
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(265, 83%, 43%); }
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 #5e13ca
RGB Code | Hex Code | Preview |
---|---|---|
rgb(94, 19, 202, 10%) | #5e13ca1a | |
rgb(94, 19, 202, 20%) | #5e13ca33 | |
rgb(94, 19, 202, 40%) | #5e13ca4C | |
rgb(94, 19, 202, 60%) | #5e13ca99 | |
rgb(94, 19, 202, 80%) | #5e13caCC | |
rgb(94, 19, 202, 100%) | #5e13caFF |
Saturated and desaturated colors of #5e13ca
HSL Code | Preview |
---|---|
hsl(265, 10%, 43%) | |
hsl(265, 20%, 43%) | |
hsl(265, 40%, 43%) | |
hsl(265, 60%, 43%) | |
hsl(265, 80%, 43%) | |
hsl(265, 100%, 43%) |
#5e13ca Color Usage In CSS
body { color: #5e13ca; } p { color: rgb(94, 19, 202); } header { border-bottom:1px solid #5e13ca; }