#0481ab Color
Color Codes | |
---|---|
Hex Code | #0481ab |
RGB Code | rgb(04, 129, 171) |
HSL Code | hsl(195, 95%, 34%) |
#0481ab Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(04, 129, 171); }
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(195, 95%, 34%); }
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 #0481ab
RGB Code | Hex Code | Preview |
---|---|---|
rgb(04, 129, 171, 10%) | #0481ab1a | |
rgb(04, 129, 171, 20%) | #0481ab33 | |
rgb(04, 129, 171, 40%) | #0481ab4C | |
rgb(04, 129, 171, 60%) | #0481ab99 | |
rgb(04, 129, 171, 80%) | #0481abCC | |
rgb(04, 129, 171, 100%) | #0481abFF |
Saturated and desaturated colors of #0481ab
HSL Code | Preview |
---|---|
hsl(195, 10%, 34%) | |
hsl(195, 20%, 34%) | |
hsl(195, 40%, 34%) | |
hsl(195, 60%, 34%) | |
hsl(195, 80%, 34%) | |
hsl(195, 100%, 34%) |
#0481ab Color Usage In CSS
body { color: #0481ab; } p { color: rgb(04, 129, 171); } header { border-bottom:1px solid #0481ab; }