#2984df Color
Color Codes | |
---|---|
Hex Code | #2984df |
RGB Code | rgb(41, 132, 223) |
HSL Code | hsl(210, 74%, 52%) |
#2984df Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(41, 132, 223); }
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(210, 74%, 52%); }
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 #2984df
RGB Code | Hex Code | Preview |
---|---|---|
rgb(41, 132, 223, 10%) | #2984df1a | |
rgb(41, 132, 223, 20%) | #2984df33 | |
rgb(41, 132, 223, 40%) | #2984df4C | |
rgb(41, 132, 223, 60%) | #2984df99 | |
rgb(41, 132, 223, 80%) | #2984dfCC | |
rgb(41, 132, 223, 100%) | #2984dfFF |
Saturated and desaturated colors of #2984df
HSL Code | Preview |
---|---|
hsl(210, 10%, 52%) | |
hsl(210, 20%, 52%) | |
hsl(210, 40%, 52%) | |
hsl(210, 60%, 52%) | |
hsl(210, 80%, 52%) | |
hsl(210, 100%, 52%) |
#2984df Color Usage In CSS
body { color: #2984df; } p { color: rgb(41, 132, 223); } header { border-bottom:1px solid #2984df; }