#2baaf8 Color
Color Codes | |
---|---|
Hex Code | #2baaf8 |
RGB Code | rgb(43, 170, 248) |
HSL Code | hsl(203, 94%, 57%) |
#2baaf8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(43, 170, 248); }
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(203, 94%, 57%); }
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 #2baaf8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(43, 170, 248, 10%) | #2baaf81a | |
rgb(43, 170, 248, 20%) | #2baaf833 | |
rgb(43, 170, 248, 40%) | #2baaf84C | |
rgb(43, 170, 248, 60%) | #2baaf899 | |
rgb(43, 170, 248, 80%) | #2baaf8CC | |
rgb(43, 170, 248, 100%) | #2baaf8FF |
Saturated and desaturated colors of #2baaf8
HSL Code | Preview |
---|---|
hsl(203, 10%, 57%) | |
hsl(203, 20%, 57%) | |
hsl(203, 40%, 57%) | |
hsl(203, 60%, 57%) | |
hsl(203, 80%, 57%) | |
hsl(203, 100%, 57%) |
#2baaf8 Color Usage In CSS
body { color: #2baaf8; } p { color: rgb(43, 170, 248); } header { border-bottom:1px solid #2baaf8; }