#5437b0 Color
Color Codes | |
---|---|
Hex Code | #5437b0 |
RGB Code | rgb(84, 55, 176) |
HSL Code | hsl(254, 52%, 45%) |
#5437b0 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(84, 55, 176); }
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, 52%, 45%); }
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 #5437b0
RGB Code | Hex Code | Preview |
---|---|---|
rgb(84, 55, 176, 10%) | #5437b01a | |
rgb(84, 55, 176, 20%) | #5437b033 | |
rgb(84, 55, 176, 40%) | #5437b04C | |
rgb(84, 55, 176, 60%) | #5437b099 | |
rgb(84, 55, 176, 80%) | #5437b0CC | |
rgb(84, 55, 176, 100%) | #5437b0FF |
Saturated and desaturated colors of #5437b0
HSL Code | Preview |
---|---|
hsl(254, 10%, 45%) | |
hsl(254, 20%, 45%) | |
hsl(254, 40%, 45%) | |
hsl(254, 60%, 45%) | |
hsl(254, 80%, 45%) | |
hsl(254, 100%, 45%) |
#5437b0 Color Usage In CSS
body { color: #5437b0; } p { color: rgb(84, 55, 176); } header { border-bottom:1px solid #5437b0; }