#457bec Color
Color Codes | |
---|---|
Hex Code | #457bec |
RGB Code | rgb(69, 123, 236) |
HSL Code | hsl(221, 81%, 60%) |
#457bec Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(69, 123, 236); }
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(221, 81%, 60%); }
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 #457bec
RGB Code | Hex Code | Preview |
---|---|---|
rgb(69, 123, 236, 10%) | #457bec1a | |
rgb(69, 123, 236, 20%) | #457bec33 | |
rgb(69, 123, 236, 40%) | #457bec4C | |
rgb(69, 123, 236, 60%) | #457bec99 | |
rgb(69, 123, 236, 80%) | #457becCC | |
rgb(69, 123, 236, 100%) | #457becFF |
Saturated and desaturated colors of #457bec
HSL Code | Preview |
---|---|
hsl(221, 10%, 60%) | |
hsl(221, 20%, 60%) | |
hsl(221, 40%, 60%) | |
hsl(221, 60%, 60%) | |
hsl(221, 80%, 60%) | |
hsl(221, 100%, 60%) |
#457bec Color Usage In CSS
body { color: #457bec; } p { color: rgb(69, 123, 236); } header { border-bottom:1px solid #457bec; }