#150d80 Color
Color Codes | |
---|---|
Hex Code | #150d80 |
RGB Code | rgb(21, 13, 128) |
HSL Code | hsl(244, 82%, 28%) |
#150d80 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(21, 13, 128); }
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(244, 82%, 28%); }
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 #150d80
RGB Code | Hex Code | Preview |
---|---|---|
rgb(21, 13, 128, 10%) | #150d801a | |
rgb(21, 13, 128, 20%) | #150d8033 | |
rgb(21, 13, 128, 40%) | #150d804C | |
rgb(21, 13, 128, 60%) | #150d8099 | |
rgb(21, 13, 128, 80%) | #150d80CC | |
rgb(21, 13, 128, 100%) | #150d80FF |
Saturated and desaturated colors of #150d80
HSL Code | Preview |
---|---|
hsl(244, 10%, 28%) | |
hsl(244, 20%, 28%) | |
hsl(244, 40%, 28%) | |
hsl(244, 60%, 28%) | |
hsl(244, 80%, 28%) | |
hsl(244, 100%, 28%) |
#150d80 Color Usage In CSS
body { color: #150d80; } p { color: rgb(21, 13, 128); } header { border-bottom:1px solid #150d80; }