#8b9adc Color
Color Codes | |
---|---|
Hex Code | #8b9adc |
RGB Code | rgb(139, 154, 220) |
HSL Code | hsl(229, 54%, 70%) |
#8b9adc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(139, 154, 220); }
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(229, 54%, 70%); }
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 #8b9adc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(139, 154, 220, 10%) | #8b9adc1a | |
rgb(139, 154, 220, 20%) | #8b9adc33 | |
rgb(139, 154, 220, 40%) | #8b9adc4C | |
rgb(139, 154, 220, 60%) | #8b9adc99 | |
rgb(139, 154, 220, 80%) | #8b9adcCC | |
rgb(139, 154, 220, 100%) | #8b9adcFF |
Saturated and desaturated colors of #8b9adc
HSL Code | Preview |
---|---|
hsl(229, 10%, 70%) | |
hsl(229, 20%, 70%) | |
hsl(229, 40%, 70%) | |
hsl(229, 60%, 70%) | |
hsl(229, 80%, 70%) | |
hsl(229, 100%, 70%) |
#8b9adc Color Usage In CSS
body { color: #8b9adc; } p { color: rgb(139, 154, 220); } header { border-bottom:1px solid #8b9adc; }