#712baf Color
Color Codes | |
---|---|
Hex Code | #712baf |
RGB Code | rgb(113, 43, 175) |
HSL Code | hsl(272, 61%, 43%) |
#712baf Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(113, 43, 175); }
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(272, 61%, 43%); }
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 #712baf
RGB Code | Hex Code | Preview |
---|---|---|
rgb(113, 43, 175, 10%) | #712baf1a | |
rgb(113, 43, 175, 20%) | #712baf33 | |
rgb(113, 43, 175, 40%) | #712baf4C | |
rgb(113, 43, 175, 60%) | #712baf99 | |
rgb(113, 43, 175, 80%) | #712bafCC | |
rgb(113, 43, 175, 100%) | #712bafFF |
Saturated and desaturated colors of #712baf
HSL Code | Preview |
---|---|
hsl(272, 10%, 43%) | |
hsl(272, 20%, 43%) | |
hsl(272, 40%, 43%) | |
hsl(272, 60%, 43%) | |
hsl(272, 80%, 43%) | |
hsl(272, 100%, 43%) |
#712baf Color Usage In CSS
body { color: #712baf; } p { color: rgb(113, 43, 175); } header { border-bottom:1px solid #712baf; }