#2e2b35 Color
Color Codes | |
---|---|
Hex Code | #2e2b35 |
RGB Code | rgb(46, 43, 53) |
HSL Code | hsl(258, 10%, 19%) |
#2e2b35 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(46, 43, 53); }
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(258, 10%, 19%); }
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 #2e2b35
RGB Code | Hex Code | Preview |
---|---|---|
rgb(46, 43, 53, 10%) | #2e2b351a | |
rgb(46, 43, 53, 20%) | #2e2b3533 | |
rgb(46, 43, 53, 40%) | #2e2b354C | |
rgb(46, 43, 53, 60%) | #2e2b3599 | |
rgb(46, 43, 53, 80%) | #2e2b35CC | |
rgb(46, 43, 53, 100%) | #2e2b35FF |
Saturated and desaturated colors of #2e2b35
HSL Code | Preview |
---|---|
hsl(258, 10%, 19%) | |
hsl(258, 20%, 19%) | |
hsl(258, 40%, 19%) | |
hsl(258, 60%, 19%) | |
hsl(258, 80%, 19%) | |
hsl(258, 100%, 19%) |
#2e2b35 Color Usage In CSS
body { color: #2e2b35; } p { color: rgb(46, 43, 53); } header { border-bottom:1px solid #2e2b35; }