#7425c0 Color
Color Codes | |
---|---|
Hex Code | #7425c0 |
RGB Code | rgb(116, 37, 192) |
HSL Code | hsl(271, 68%, 45%) |
#7425c0 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(116, 37, 192); }
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(271, 68%, 45%); }
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 #7425c0
RGB Code | Hex Code | Preview |
---|---|---|
rgb(116, 37, 192, 10%) | #7425c01a | |
rgb(116, 37, 192, 20%) | #7425c033 | |
rgb(116, 37, 192, 40%) | #7425c04C | |
rgb(116, 37, 192, 60%) | #7425c099 | |
rgb(116, 37, 192, 80%) | #7425c0CC | |
rgb(116, 37, 192, 100%) | #7425c0FF |
Saturated and desaturated colors of #7425c0
HSL Code | Preview |
---|---|
hsl(271, 10%, 45%) | |
hsl(271, 20%, 45%) | |
hsl(271, 40%, 45%) | |
hsl(271, 60%, 45%) | |
hsl(271, 80%, 45%) | |
hsl(271, 100%, 45%) |
#7425c0 Color Usage In CSS
body { color: #7425c0; } p { color: rgb(116, 37, 192); } header { border-bottom:1px solid #7425c0; }