#185edb Color
Color Codes | |
---|---|
Hex Code | #185edb |
RGB Code | rgb(24, 94, 219) |
HSL Code | hsl(218, 80%, 48%) |
#185edb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(24, 94, 219); }
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(218, 80%, 48%); }
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 #185edb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(24, 94, 219, 10%) | #185edb1a | |
rgb(24, 94, 219, 20%) | #185edb33 | |
rgb(24, 94, 219, 40%) | #185edb4C | |
rgb(24, 94, 219, 60%) | #185edb99 | |
rgb(24, 94, 219, 80%) | #185edbCC | |
rgb(24, 94, 219, 100%) | #185edbFF |
Saturated and desaturated colors of #185edb
HSL Code | Preview |
---|---|
hsl(218, 10%, 48%) | |
hsl(218, 20%, 48%) | |
hsl(218, 40%, 48%) | |
hsl(218, 60%, 48%) | |
hsl(218, 80%, 48%) | |
hsl(218, 100%, 48%) |
#185edb Color Usage In CSS
body { color: #185edb; } p { color: rgb(24, 94, 219); } header { border-bottom:1px solid #185edb; }