#70039e Color
Color Codes | |
---|---|
Hex Code | #70039e |
RGB Code | rgb(112, 03, 158) |
HSL Code | hsl(282, 96%, 32%) |
#70039e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(112, 03, 158); }
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(282, 96%, 32%); }
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 #70039e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(112, 03, 158, 10%) | #70039e1a | |
rgb(112, 03, 158, 20%) | #70039e33 | |
rgb(112, 03, 158, 40%) | #70039e4C | |
rgb(112, 03, 158, 60%) | #70039e99 | |
rgb(112, 03, 158, 80%) | #70039eCC | |
rgb(112, 03, 158, 100%) | #70039eFF |
Saturated and desaturated colors of #70039e
HSL Code | Preview |
---|---|
hsl(282, 10%, 32%) | |
hsl(282, 20%, 32%) | |
hsl(282, 40%, 32%) | |
hsl(282, 60%, 32%) | |
hsl(282, 80%, 32%) | |
hsl(282, 100%, 32%) |
#70039e Color Usage In CSS
body { color: #70039e; } p { color: rgb(112, 03, 158); } header { border-bottom:1px solid #70039e; }