#51c8fe Color
Color Codes | |
---|---|
Hex Code | #51c8fe |
RGB Code | rgb(81, 200, 254) |
HSL Code | hsl(199, 99%, 66%) |
#51c8fe Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(81, 200, 254); }
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(199, 99%, 66%); }
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 #51c8fe
RGB Code | Hex Code | Preview |
---|---|---|
rgb(81, 200, 254, 10%) | #51c8fe1a | |
rgb(81, 200, 254, 20%) | #51c8fe33 | |
rgb(81, 200, 254, 40%) | #51c8fe4C | |
rgb(81, 200, 254, 60%) | #51c8fe99 | |
rgb(81, 200, 254, 80%) | #51c8feCC | |
rgb(81, 200, 254, 100%) | #51c8feFF |
Saturated and desaturated colors of #51c8fe
HSL Code | Preview |
---|---|
hsl(199, 10%, 66%) | |
hsl(199, 20%, 66%) | |
hsl(199, 40%, 66%) | |
hsl(199, 60%, 66%) | |
hsl(199, 80%, 66%) | |
hsl(199, 100%, 66%) |
#51c8fe Color Usage In CSS
body { color: #51c8fe; } p { color: rgb(81, 200, 254); } header { border-bottom:1px solid #51c8fe; }