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