#4875e7 Color
Color Codes | |
---|---|
Hex Code | #4875e7 |
RGB Code | rgb(72, 117, 231) |
HSL Code | hsl(223, 77%, 59%) |
#4875e7 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(72, 117, 231); }
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(223, 77%, 59%); }
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 #4875e7
RGB Code | Hex Code | Preview |
---|---|---|
rgb(72, 117, 231, 10%) | #4875e71a | |
rgb(72, 117, 231, 20%) | #4875e733 | |
rgb(72, 117, 231, 40%) | #4875e74C | |
rgb(72, 117, 231, 60%) | #4875e799 | |
rgb(72, 117, 231, 80%) | #4875e7CC | |
rgb(72, 117, 231, 100%) | #4875e7FF |
Saturated and desaturated colors of #4875e7
HSL Code | Preview |
---|---|
hsl(223, 10%, 59%) | |
hsl(223, 20%, 59%) | |
hsl(223, 40%, 59%) | |
hsl(223, 60%, 59%) | |
hsl(223, 80%, 59%) | |
hsl(223, 100%, 59%) |
#4875e7 Color Usage In CSS
body { color: #4875e7; } p { color: rgb(72, 117, 231); } header { border-bottom:1px solid #4875e7; }