#581485 Color
Color Codes | |
---|---|
Hex Code | #581485 |
RGB Code | rgb(88, 20, 133) |
HSL Code | hsl(276, 74%, 30%) |
#581485 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(88, 20, 133); }
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(276, 74%, 30%); }
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 #581485
RGB Code | Hex Code | Preview |
---|---|---|
rgb(88, 20, 133, 10%) | #5814851a | |
rgb(88, 20, 133, 20%) | #58148533 | |
rgb(88, 20, 133, 40%) | #5814854C | |
rgb(88, 20, 133, 60%) | #58148599 | |
rgb(88, 20, 133, 80%) | #581485CC | |
rgb(88, 20, 133, 100%) | #581485FF |
Saturated and desaturated colors of #581485
HSL Code | Preview |
---|---|
hsl(276, 10%, 30%) | |
hsl(276, 20%, 30%) | |
hsl(276, 40%, 30%) | |
hsl(276, 60%, 30%) | |
hsl(276, 80%, 30%) | |
hsl(276, 100%, 30%) |
#581485 Color Usage In CSS
body { color: #581485; } p { color: rgb(88, 20, 133); } header { border-bottom:1px solid #581485; }