#1cb5fc Color
Color Codes | |
---|---|
Hex Code | #1cb5fc |
RGB Code | rgb(28, 181, 252) |
HSL Code | hsl(199, 97%, 55%) |
#1cb5fc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(28, 181, 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(199, 97%, 55%); }
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 #1cb5fc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(28, 181, 252, 10%) | #1cb5fc1a | |
rgb(28, 181, 252, 20%) | #1cb5fc33 | |
rgb(28, 181, 252, 40%) | #1cb5fc4C | |
rgb(28, 181, 252, 60%) | #1cb5fc99 | |
rgb(28, 181, 252, 80%) | #1cb5fcCC | |
rgb(28, 181, 252, 100%) | #1cb5fcFF |
Saturated and desaturated colors of #1cb5fc
HSL Code | Preview |
---|---|
hsl(199, 10%, 55%) | |
hsl(199, 20%, 55%) | |
hsl(199, 40%, 55%) | |
hsl(199, 60%, 55%) | |
hsl(199, 80%, 55%) | |
hsl(199, 100%, 55%) |
#1cb5fc Color Usage In CSS
body { color: #1cb5fc; } p { color: rgb(28, 181, 252); } header { border-bottom:1px solid #1cb5fc; }