#4750dc Color
Color Codes | |
---|---|
Hex Code | #4750dc |
RGB Code | rgb(71, 80, 220) |
HSL Code | hsl(236, 68%, 57%) |
#4750dc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(71, 80, 220); }
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(236, 68%, 57%); }
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 #4750dc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(71, 80, 220, 10%) | #4750dc1a | |
rgb(71, 80, 220, 20%) | #4750dc33 | |
rgb(71, 80, 220, 40%) | #4750dc4C | |
rgb(71, 80, 220, 60%) | #4750dc99 | |
rgb(71, 80, 220, 80%) | #4750dcCC | |
rgb(71, 80, 220, 100%) | #4750dcFF |
Saturated and desaturated colors of #4750dc
HSL Code | Preview |
---|---|
hsl(236, 10%, 57%) | |
hsl(236, 20%, 57%) | |
hsl(236, 40%, 57%) | |
hsl(236, 60%, 57%) | |
hsl(236, 80%, 57%) | |
hsl(236, 100%, 57%) |
#4750dc Color Usage In CSS
body { color: #4750dc; } p { color: rgb(71, 80, 220); } header { border-bottom:1px solid #4750dc; }