#158bd4 Color
Color Codes | |
---|---|
Hex Code | #158bd4 |
RGB Code | rgb(21, 139, 212) |
HSL Code | hsl(203, 82%, 46%) |
#158bd4 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(21, 139, 212); }
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, 82%, 46%); }
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 #158bd4
RGB Code | Hex Code | Preview |
---|---|---|
rgb(21, 139, 212, 10%) | #158bd41a | |
rgb(21, 139, 212, 20%) | #158bd433 | |
rgb(21, 139, 212, 40%) | #158bd44C | |
rgb(21, 139, 212, 60%) | #158bd499 | |
rgb(21, 139, 212, 80%) | #158bd4CC | |
rgb(21, 139, 212, 100%) | #158bd4FF |
Saturated and desaturated colors of #158bd4
HSL Code | Preview |
---|---|
hsl(203, 10%, 46%) | |
hsl(203, 20%, 46%) | |
hsl(203, 40%, 46%) | |
hsl(203, 60%, 46%) | |
hsl(203, 80%, 46%) | |
hsl(203, 100%, 46%) |
#158bd4 Color Usage In CSS
body { color: #158bd4; } p { color: rgb(21, 139, 212); } header { border-bottom:1px solid #158bd4; }