#720c76 Color
Color Codes | |
---|---|
Hex Code | #720c76 |
RGB Code | rgb(114, 12, 118) |
HSL Code | hsl(298, 82%, 25%) |
#720c76 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(114, 12, 118); }
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(298, 82%, 25%); }
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 #720c76
RGB Code | Hex Code | Preview |
---|---|---|
rgb(114, 12, 118, 10%) | #720c761a | |
rgb(114, 12, 118, 20%) | #720c7633 | |
rgb(114, 12, 118, 40%) | #720c764C | |
rgb(114, 12, 118, 60%) | #720c7699 | |
rgb(114, 12, 118, 80%) | #720c76CC | |
rgb(114, 12, 118, 100%) | #720c76FF |
Saturated and desaturated colors of #720c76
HSL Code | Preview |
---|---|
hsl(298, 10%, 25%) | |
hsl(298, 20%, 25%) | |
hsl(298, 40%, 25%) | |
hsl(298, 60%, 25%) | |
hsl(298, 80%, 25%) | |
hsl(298, 100%, 25%) |
#720c76 Color Usage In CSS
body { color: #720c76; } p { color: rgb(114, 12, 118); } header { border-bottom:1px solid #720c76; }