#720fef Color
Color Codes | |
---|---|
Hex Code | #720fef |
RGB Code | rgb(114, 15, 239) |
HSL Code | hsl(267, 88%, 50%) |
#720fef Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(114, 15, 239); }
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(267, 88%, 50%); }
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 #720fef
RGB Code | Hex Code | Preview |
---|---|---|
rgb(114, 15, 239, 10%) | #720fef1a | |
rgb(114, 15, 239, 20%) | #720fef33 | |
rgb(114, 15, 239, 40%) | #720fef4C | |
rgb(114, 15, 239, 60%) | #720fef99 | |
rgb(114, 15, 239, 80%) | #720fefCC | |
rgb(114, 15, 239, 100%) | #720fefFF |
Saturated and desaturated colors of #720fef
HSL Code | Preview |
---|---|
hsl(267, 10%, 50%) | |
hsl(267, 20%, 50%) | |
hsl(267, 40%, 50%) | |
hsl(267, 60%, 50%) | |
hsl(267, 80%, 50%) | |
hsl(267, 100%, 50%) |
#720fef Color Usage In CSS
body { color: #720fef; } p { color: rgb(114, 15, 239); } header { border-bottom:1px solid #720fef; }