#2e2bcc Color
Color Codes | |
---|---|
Hex Code | #2e2bcc |
RGB Code | rgb(46, 43, 204) |
HSL Code | hsl(241, 65%, 48%) |
#2e2bcc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(46, 43, 204); }
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(241, 65%, 48%); }
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 #2e2bcc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(46, 43, 204, 10%) | #2e2bcc1a | |
rgb(46, 43, 204, 20%) | #2e2bcc33 | |
rgb(46, 43, 204, 40%) | #2e2bcc4C | |
rgb(46, 43, 204, 60%) | #2e2bcc99 | |
rgb(46, 43, 204, 80%) | #2e2bccCC | |
rgb(46, 43, 204, 100%) | #2e2bccFF |
Saturated and desaturated colors of #2e2bcc
HSL Code | Preview |
---|---|
hsl(241, 10%, 48%) | |
hsl(241, 20%, 48%) | |
hsl(241, 40%, 48%) | |
hsl(241, 60%, 48%) | |
hsl(241, 80%, 48%) | |
hsl(241, 100%, 48%) |
#2e2bcc Color Usage In CSS
body { color: #2e2bcc; } p { color: rgb(46, 43, 204); } header { border-bottom:1px solid #2e2bcc; }