#0d5b92 Color
Color Codes | |
---|---|
Hex Code | #0d5b92 |
RGB Code | rgb(13, 91, 146) |
HSL Code | hsl(205, 84%, 31%) |
#0d5b92 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(13, 91, 146); }
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, 84%, 31%); }
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 #0d5b92
RGB Code | Hex Code | Preview |
---|---|---|
rgb(13, 91, 146, 10%) | #0d5b921a | |
rgb(13, 91, 146, 20%) | #0d5b9233 | |
rgb(13, 91, 146, 40%) | #0d5b924C | |
rgb(13, 91, 146, 60%) | #0d5b9299 | |
rgb(13, 91, 146, 80%) | #0d5b92CC | |
rgb(13, 91, 146, 100%) | #0d5b92FF |
Saturated and desaturated colors of #0d5b92
HSL Code | Preview |
---|---|
hsl(205, 10%, 31%) | |
hsl(205, 20%, 31%) | |
hsl(205, 40%, 31%) | |
hsl(205, 60%, 31%) | |
hsl(205, 80%, 31%) | |
hsl(205, 100%, 31%) |
#0d5b92 Color Usage In CSS
body { color: #0d5b92; } p { color: rgb(13, 91, 146); } header { border-bottom:1px solid #0d5b92; }