#24296a Color
Color Codes | |
---|---|
Hex Code | #24296a |
RGB Code | rgb(36, 41, 106) |
HSL Code | hsl(236, 49%, 28%) |
#24296a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(36, 41, 106); }
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(236, 49%, 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 #24296a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(36, 41, 106, 10%) | #24296a1a | |
rgb(36, 41, 106, 20%) | #24296a33 | |
rgb(36, 41, 106, 40%) | #24296a4C | |
rgb(36, 41, 106, 60%) | #24296a99 | |
rgb(36, 41, 106, 80%) | #24296aCC | |
rgb(36, 41, 106, 100%) | #24296aFF |
Saturated and desaturated colors of #24296a
HSL Code | Preview |
---|---|
hsl(236, 10%, 28%) | |
hsl(236, 20%, 28%) | |
hsl(236, 40%, 28%) | |
hsl(236, 60%, 28%) | |
hsl(236, 80%, 28%) | |
hsl(236, 100%, 28%) |
#24296a Color Usage In CSS
body { color: #24296a; } p { color: rgb(36, 41, 106); } header { border-bottom:1px solid #24296a; }