#174be1 Color
Color Codes | |
---|---|
Hex Code | #174be1 |
RGB Code | rgb(23, 75, 225) |
HSL Code | hsl(225, 81%, 49%) |
#174be1 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(23, 75, 225); }
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(225, 81%, 49%); }
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 #174be1
RGB Code | Hex Code | Preview |
---|---|---|
rgb(23, 75, 225, 10%) | #174be11a | |
rgb(23, 75, 225, 20%) | #174be133 | |
rgb(23, 75, 225, 40%) | #174be14C | |
rgb(23, 75, 225, 60%) | #174be199 | |
rgb(23, 75, 225, 80%) | #174be1CC | |
rgb(23, 75, 225, 100%) | #174be1FF |
Saturated and desaturated colors of #174be1
HSL Code | Preview |
---|---|
hsl(225, 10%, 49%) | |
hsl(225, 20%, 49%) | |
hsl(225, 40%, 49%) | |
hsl(225, 60%, 49%) | |
hsl(225, 80%, 49%) | |
hsl(225, 100%, 49%) |
#174be1 Color Usage In CSS
body { color: #174be1; } p { color: rgb(23, 75, 225); } header { border-bottom:1px solid #174be1; }