#2b099a Color
Color Codes | |
---|---|
Hex Code | #2b099a |
RGB Code | rgb(43, 09, 154) |
HSL Code | hsl(254, 89%, 32%) |
#2b099a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(43, 09, 154); }
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(254, 89%, 32%); }
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 #2b099a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(43, 09, 154, 10%) | #2b099a1a | |
rgb(43, 09, 154, 20%) | #2b099a33 | |
rgb(43, 09, 154, 40%) | #2b099a4C | |
rgb(43, 09, 154, 60%) | #2b099a99 | |
rgb(43, 09, 154, 80%) | #2b099aCC | |
rgb(43, 09, 154, 100%) | #2b099aFF |
Saturated and desaturated colors of #2b099a
HSL Code | Preview |
---|---|
hsl(254, 10%, 32%) | |
hsl(254, 20%, 32%) | |
hsl(254, 40%, 32%) | |
hsl(254, 60%, 32%) | |
hsl(254, 80%, 32%) | |
hsl(254, 100%, 32%) |
#2b099a Color Usage In CSS
body { color: #2b099a; } p { color: rgb(43, 09, 154); } header { border-bottom:1px solid #2b099a; }