#0b8dec Color
Color Codes | |
---|---|
Hex Code | #0b8dec |
RGB Code | rgb(11, 141, 236) |
HSL Code | hsl(205, 91%, 48%) |
#0b8dec Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(11, 141, 236); }
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(205, 91%, 48%); }
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 #0b8dec
RGB Code | Hex Code | Preview |
---|---|---|
rgb(11, 141, 236, 10%) | #0b8dec1a | |
rgb(11, 141, 236, 20%) | #0b8dec33 | |
rgb(11, 141, 236, 40%) | #0b8dec4C | |
rgb(11, 141, 236, 60%) | #0b8dec99 | |
rgb(11, 141, 236, 80%) | #0b8decCC | |
rgb(11, 141, 236, 100%) | #0b8decFF |
Saturated and desaturated colors of #0b8dec
HSL Code | Preview |
---|---|
hsl(205, 10%, 48%) | |
hsl(205, 20%, 48%) | |
hsl(205, 40%, 48%) | |
hsl(205, 60%, 48%) | |
hsl(205, 80%, 48%) | |
hsl(205, 100%, 48%) |
#0b8dec Color Usage In CSS
body { color: #0b8dec; } p { color: rgb(11, 141, 236); } header { border-bottom:1px solid #0b8dec; }