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