#0d3049 Color
Color Codes | |
---|---|
Hex Code | #0d3049 |
RGB Code | rgb(13, 48, 73) |
HSL Code | hsl(205, 70%, 17%) |
#0d3049 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(13, 48, 73); }
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, 70%, 17%); }
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 #0d3049
RGB Code | Hex Code | Preview |
---|---|---|
rgb(13, 48, 73, 10%) | #0d30491a | |
rgb(13, 48, 73, 20%) | #0d304933 | |
rgb(13, 48, 73, 40%) | #0d30494C | |
rgb(13, 48, 73, 60%) | #0d304999 | |
rgb(13, 48, 73, 80%) | #0d3049CC | |
rgb(13, 48, 73, 100%) | #0d3049FF |
Saturated and desaturated colors of #0d3049
HSL Code | Preview |
---|---|
hsl(205, 10%, 17%) | |
hsl(205, 20%, 17%) | |
hsl(205, 40%, 17%) | |
hsl(205, 60%, 17%) | |
hsl(205, 80%, 17%) | |
hsl(205, 100%, 17%) |
#0d3049 Color Usage In CSS
body { color: #0d3049; } p { color: rgb(13, 48, 73); } header { border-bottom:1px solid #0d3049; }