#4066f7 Color
Color Codes | |
---|---|
Hex Code | #4066f7 |
RGB Code | rgb(64, 102, 247) |
HSL Code | hsl(228, 92%, 61%) |
#4066f7 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(64, 102, 247); }
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(228, 92%, 61%); }
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 #4066f7
RGB Code | Hex Code | Preview |
---|---|---|
rgb(64, 102, 247, 10%) | #4066f71a | |
rgb(64, 102, 247, 20%) | #4066f733 | |
rgb(64, 102, 247, 40%) | #4066f74C | |
rgb(64, 102, 247, 60%) | #4066f799 | |
rgb(64, 102, 247, 80%) | #4066f7CC | |
rgb(64, 102, 247, 100%) | #4066f7FF |
Saturated and desaturated colors of #4066f7
HSL Code | Preview |
---|---|
hsl(228, 10%, 61%) | |
hsl(228, 20%, 61%) | |
hsl(228, 40%, 61%) | |
hsl(228, 60%, 61%) | |
hsl(228, 80%, 61%) | |
hsl(228, 100%, 61%) |
#4066f7 Color Usage In CSS
body { color: #4066f7; } p { color: rgb(64, 102, 247); } header { border-bottom:1px solid #4066f7; }