#1500db Color
Color Codes | |
---|---|
Hex Code | #1500db |
RGB Code | rgb(21, 00, 219) |
HSL Code | hsl(246, 100%, 43%) |
#1500db Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(21, 00, 219); }
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(246, 100%, 43%); }
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 #1500db
RGB Code | Hex Code | Preview |
---|---|---|
rgb(21, 00, 219, 10%) | #1500db1a | |
rgb(21, 00, 219, 20%) | #1500db33 | |
rgb(21, 00, 219, 40%) | #1500db4C | |
rgb(21, 00, 219, 60%) | #1500db99 | |
rgb(21, 00, 219, 80%) | #1500dbCC | |
rgb(21, 00, 219, 100%) | #1500dbFF |
Saturated and desaturated colors of #1500db
HSL Code | Preview |
---|---|
hsl(246, 10%, 43%) | |
hsl(246, 20%, 43%) | |
hsl(246, 40%, 43%) | |
hsl(246, 60%, 43%) | |
hsl(246, 80%, 43%) | |
hsl(246, 100%, 43%) |
#1500db Color Usage In CSS
body { color: #1500db; } p { color: rgb(21, 00, 219); } header { border-bottom:1px solid #1500db; }