#24a0ed Color
Color Codes | |
---|---|
Hex Code | #24a0ed |
RGB Code | rgb(36, 160, 237) |
HSL Code | hsl(203, 85%, 54%) |
#24a0ed Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(36, 160, 237); }
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(203, 85%, 54%); }
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 #24a0ed
RGB Code | Hex Code | Preview |
---|---|---|
rgb(36, 160, 237, 10%) | #24a0ed1a | |
rgb(36, 160, 237, 20%) | #24a0ed33 | |
rgb(36, 160, 237, 40%) | #24a0ed4C | |
rgb(36, 160, 237, 60%) | #24a0ed99 | |
rgb(36, 160, 237, 80%) | #24a0edCC | |
rgb(36, 160, 237, 100%) | #24a0edFF |
Saturated and desaturated colors of #24a0ed
HSL Code | Preview |
---|---|
hsl(203, 10%, 54%) | |
hsl(203, 20%, 54%) | |
hsl(203, 40%, 54%) | |
hsl(203, 60%, 54%) | |
hsl(203, 80%, 54%) | |
hsl(203, 100%, 54%) |
#24a0ed Color Usage In CSS
body { color: #24a0ed; } p { color: rgb(36, 160, 237); } header { border-bottom:1px solid #24a0ed; }