#4a8ded Color
Color Codes | |
---|---|
Hex Code | #4a8ded |
RGB Code | rgb(74, 141, 237) |
HSL Code | hsl(215, 82%, 61%) |
#4a8ded Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(74, 141, 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(215, 82%, 61%); }
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 #4a8ded
RGB Code | Hex Code | Preview |
---|---|---|
rgb(74, 141, 237, 10%) | #4a8ded1a | |
rgb(74, 141, 237, 20%) | #4a8ded33 | |
rgb(74, 141, 237, 40%) | #4a8ded4C | |
rgb(74, 141, 237, 60%) | #4a8ded99 | |
rgb(74, 141, 237, 80%) | #4a8dedCC | |
rgb(74, 141, 237, 100%) | #4a8dedFF |
Saturated and desaturated colors of #4a8ded
HSL Code | Preview |
---|---|
hsl(215, 10%, 61%) | |
hsl(215, 20%, 61%) | |
hsl(215, 40%, 61%) | |
hsl(215, 60%, 61%) | |
hsl(215, 80%, 61%) | |
hsl(215, 100%, 61%) |
#4a8ded Color Usage In CSS
body { color: #4a8ded; } p { color: rgb(74, 141, 237); } header { border-bottom:1px solid #4a8ded; }