#0f22d8 Color
Color Codes | |
---|---|
Hex Code | #0f22d8 |
RGB Code | rgb(15, 34, 216) |
HSL Code | hsl(234, 87%, 45%) |
#0f22d8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(15, 34, 216); }
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(234, 87%, 45%); }
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 #0f22d8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(15, 34, 216, 10%) | #0f22d81a | |
rgb(15, 34, 216, 20%) | #0f22d833 | |
rgb(15, 34, 216, 40%) | #0f22d84C | |
rgb(15, 34, 216, 60%) | #0f22d899 | |
rgb(15, 34, 216, 80%) | #0f22d8CC | |
rgb(15, 34, 216, 100%) | #0f22d8FF |
Saturated and desaturated colors of #0f22d8
HSL Code | Preview |
---|---|
hsl(234, 10%, 45%) | |
hsl(234, 20%, 45%) | |
hsl(234, 40%, 45%) | |
hsl(234, 60%, 45%) | |
hsl(234, 80%, 45%) | |
hsl(234, 100%, 45%) |
#0f22d8 Color Usage In CSS
body { color: #0f22d8; } p { color: rgb(15, 34, 216); } header { border-bottom:1px solid #0f22d8; }