#51affc Color
Color Codes | |
---|---|
Hex Code | #51affc |
RGB Code | rgb(81, 175, 252) |
HSL Code | hsl(207, 97%, 65%) |
#51affc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(81, 175, 252); }
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(207, 97%, 65%); }
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 #51affc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(81, 175, 252, 10%) | #51affc1a | |
rgb(81, 175, 252, 20%) | #51affc33 | |
rgb(81, 175, 252, 40%) | #51affc4C | |
rgb(81, 175, 252, 60%) | #51affc99 | |
rgb(81, 175, 252, 80%) | #51affcCC | |
rgb(81, 175, 252, 100%) | #51affcFF |
Saturated and desaturated colors of #51affc
HSL Code | Preview |
---|---|
hsl(207, 10%, 65%) | |
hsl(207, 20%, 65%) | |
hsl(207, 40%, 65%) | |
hsl(207, 60%, 65%) | |
hsl(207, 80%, 65%) | |
hsl(207, 100%, 65%) |
#51affc Color Usage In CSS
body { color: #51affc; } p { color: rgb(81, 175, 252); } header { border-bottom:1px solid #51affc; }