#1ba4fa Color
Color Codes | |
---|---|
Hex Code | #1ba4fa |
RGB Code | rgb(27, 164, 250) |
HSL Code | hsl(203, 96%, 54%) |
#1ba4fa Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(27, 164, 250); }
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, 96%, 54%); }
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 #1ba4fa
RGB Code | Hex Code | Preview |
---|---|---|
rgb(27, 164, 250, 10%) | #1ba4fa1a | |
rgb(27, 164, 250, 20%) | #1ba4fa33 | |
rgb(27, 164, 250, 40%) | #1ba4fa4C | |
rgb(27, 164, 250, 60%) | #1ba4fa99 | |
rgb(27, 164, 250, 80%) | #1ba4faCC | |
rgb(27, 164, 250, 100%) | #1ba4faFF |
Saturated and desaturated colors of #1ba4fa
HSL Code | Preview |
---|---|
hsl(203, 10%, 54%) | |
hsl(203, 20%, 54%) | |
hsl(203, 40%, 54%) | |
hsl(203, 60%, 54%) | |
hsl(203, 80%, 54%) | |
hsl(203, 100%, 54%) |
#1ba4fa Color Usage In CSS
body { color: #1ba4fa; } p { color: rgb(27, 164, 250); } header { border-bottom:1px solid #1ba4fa; }