#180b25 Color
Color Codes | |
---|---|
Hex Code | #180b25 |
RGB Code | rgb(24, 11, 37) |
HSL Code | hsl(270, 54%, 9%) |
#180b25 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(24, 11, 37); }
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(270, 54%, 9%); }
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 #180b25
RGB Code | Hex Code | Preview |
---|---|---|
rgb(24, 11, 37, 10%) | #180b251a | |
rgb(24, 11, 37, 20%) | #180b2533 | |
rgb(24, 11, 37, 40%) | #180b254C | |
rgb(24, 11, 37, 60%) | #180b2599 | |
rgb(24, 11, 37, 80%) | #180b25CC | |
rgb(24, 11, 37, 100%) | #180b25FF |
Saturated and desaturated colors of #180b25
HSL Code | Preview |
---|---|
hsl(270, 10%, 9%) | |
hsl(270, 20%, 9%) | |
hsl(270, 40%, 9%) | |
hsl(270, 60%, 9%) | |
hsl(270, 80%, 9%) | |
hsl(270, 100%, 9%) |
#180b25 Color Usage In CSS
body { color: #180b25; } p { color: rgb(24, 11, 37); } header { border-bottom:1px solid #180b25; }