#0230aa Color
Color Codes | |
---|---|
Hex Code | #0230aa |
RGB Code | rgb(02, 48, 170) |
HSL Code | hsl(224, 98%, 34%) |
#0230aa Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(02, 48, 170); }
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(224, 98%, 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 #0230aa
RGB Code | Hex Code | Preview |
---|---|---|
rgb(02, 48, 170, 10%) | #0230aa1a | |
rgb(02, 48, 170, 20%) | #0230aa33 | |
rgb(02, 48, 170, 40%) | #0230aa4C | |
rgb(02, 48, 170, 60%) | #0230aa99 | |
rgb(02, 48, 170, 80%) | #0230aaCC | |
rgb(02, 48, 170, 100%) | #0230aaFF |
Saturated and desaturated colors of #0230aa
HSL Code | Preview |
---|---|
hsl(224, 10%, 34%) | |
hsl(224, 20%, 34%) | |
hsl(224, 40%, 34%) | |
hsl(224, 60%, 34%) | |
hsl(224, 80%, 34%) | |
hsl(224, 100%, 34%) |
#0230aa Color Usage In CSS
body { color: #0230aa; } p { color: rgb(02, 48, 170); } header { border-bottom:1px solid #0230aa; }