#4273eb Color
Color Codes | |
---|---|
Hex Code | #4273eb |
RGB Code | rgb(66, 115, 235) |
HSL Code | hsl(223, 81%, 59%) |
#4273eb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(66, 115, 235); }
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, 81%, 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 #4273eb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(66, 115, 235, 10%) | #4273eb1a | |
rgb(66, 115, 235, 20%) | #4273eb33 | |
rgb(66, 115, 235, 40%) | #4273eb4C | |
rgb(66, 115, 235, 60%) | #4273eb99 | |
rgb(66, 115, 235, 80%) | #4273ebCC | |
rgb(66, 115, 235, 100%) | #4273ebFF |
Saturated and desaturated colors of #4273eb
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%) |
#4273eb Color Usage In CSS
body { color: #4273eb; } p { color: rgb(66, 115, 235); } header { border-bottom:1px solid #4273eb; }