#2b20fe Color
Color Codes | |
---|---|
Hex Code | #2b20fe |
RGB Code | rgb(43, 32, 254) |
HSL Code | hsl(243, 99%, 56%) |
#2b20fe Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(43, 32, 254); }
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(243, 99%, 56%); }
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 #2b20fe
RGB Code | Hex Code | Preview |
---|---|---|
rgb(43, 32, 254, 10%) | #2b20fe1a | |
rgb(43, 32, 254, 20%) | #2b20fe33 | |
rgb(43, 32, 254, 40%) | #2b20fe4C | |
rgb(43, 32, 254, 60%) | #2b20fe99 | |
rgb(43, 32, 254, 80%) | #2b20feCC | |
rgb(43, 32, 254, 100%) | #2b20feFF |
Saturated and desaturated colors of #2b20fe
HSL Code | Preview |
---|---|
hsl(243, 10%, 56%) | |
hsl(243, 20%, 56%) | |
hsl(243, 40%, 56%) | |
hsl(243, 60%, 56%) | |
hsl(243, 80%, 56%) | |
hsl(243, 100%, 56%) |
#2b20fe Color Usage In CSS
body { color: #2b20fe; } p { color: rgb(43, 32, 254); } header { border-bottom:1px solid #2b20fe; }