#15028c Color
Color Codes | |
---|---|
Hex Code | #15028c |
RGB Code | rgb(21, 02, 140) |
HSL Code | hsl(248, 97%, 28%) |
#15028c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(21, 02, 140); }
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(248, 97%, 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 #15028c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(21, 02, 140, 10%) | #15028c1a | |
rgb(21, 02, 140, 20%) | #15028c33 | |
rgb(21, 02, 140, 40%) | #15028c4C | |
rgb(21, 02, 140, 60%) | #15028c99 | |
rgb(21, 02, 140, 80%) | #15028cCC | |
rgb(21, 02, 140, 100%) | #15028cFF |
Saturated and desaturated colors of #15028c
HSL Code | Preview |
---|---|
hsl(248, 10%, 28%) | |
hsl(248, 20%, 28%) | |
hsl(248, 40%, 28%) | |
hsl(248, 60%, 28%) | |
hsl(248, 80%, 28%) | |
hsl(248, 100%, 28%) |
#15028c Color Usage In CSS
body { color: #15028c; } p { color: rgb(21, 02, 140); } header { border-bottom:1px solid #15028c; }