#0d4f83 Color
Color Codes | |
---|---|
Hex Code | #0d4f83 |
RGB Code | rgb(13, 79, 131) |
HSL Code | hsl(206, 82%, 28%) |
#0d4f83 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(13, 79, 131); }
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(206, 82%, 28%); }
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 #0d4f83
RGB Code | Hex Code | Preview |
---|---|---|
rgb(13, 79, 131, 10%) | #0d4f831a | |
rgb(13, 79, 131, 20%) | #0d4f8333 | |
rgb(13, 79, 131, 40%) | #0d4f834C | |
rgb(13, 79, 131, 60%) | #0d4f8399 | |
rgb(13, 79, 131, 80%) | #0d4f83CC | |
rgb(13, 79, 131, 100%) | #0d4f83FF |
Saturated and desaturated colors of #0d4f83
HSL Code | Preview |
---|---|
hsl(206, 10%, 28%) | |
hsl(206, 20%, 28%) | |
hsl(206, 40%, 28%) | |
hsl(206, 60%, 28%) | |
hsl(206, 80%, 28%) | |
hsl(206, 100%, 28%) |
#0d4f83 Color Usage In CSS
body { color: #0d4f83; } p { color: rgb(13, 79, 131); } header { border-bottom:1px solid #0d4f83; }