#5153ca Color
Color Codes | |
---|---|
Hex Code | #5153ca |
RGB Code | rgb(81, 83, 202) |
HSL Code | hsl(239, 53%, 55%) |
#5153ca Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(81, 83, 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(239, 53%, 55%); }
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 #5153ca
RGB Code | Hex Code | Preview |
---|---|---|
rgb(81, 83, 202, 10%) | #5153ca1a | |
rgb(81, 83, 202, 20%) | #5153ca33 | |
rgb(81, 83, 202, 40%) | #5153ca4C | |
rgb(81, 83, 202, 60%) | #5153ca99 | |
rgb(81, 83, 202, 80%) | #5153caCC | |
rgb(81, 83, 202, 100%) | #5153caFF |
Saturated and desaturated colors of #5153ca
HSL Code | Preview |
---|---|
hsl(239, 10%, 55%) | |
hsl(239, 20%, 55%) | |
hsl(239, 40%, 55%) | |
hsl(239, 60%, 55%) | |
hsl(239, 80%, 55%) | |
hsl(239, 100%, 55%) |
#5153ca Color Usage In CSS
body { color: #5153ca; } p { color: rgb(81, 83, 202); } header { border-bottom:1px solid #5153ca; }