#2d2f07 Color
Color Codes | |
---|---|
Hex Code | #2d2f07 |
RGB Code | rgb(45, 47, 07) |
HSL Code | hsl(63, 74%, 11%) |
#2d2f07 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(45, 47, 07); }
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(63, 74%, 11%); }
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 #2d2f07
RGB Code | Hex Code | Preview |
---|---|---|
rgb(45, 47, 07, 10%) | #2d2f071a | |
rgb(45, 47, 07, 20%) | #2d2f0733 | |
rgb(45, 47, 07, 40%) | #2d2f074C | |
rgb(45, 47, 07, 60%) | #2d2f0799 | |
rgb(45, 47, 07, 80%) | #2d2f07CC | |
rgb(45, 47, 07, 100%) | #2d2f07FF |
Saturated and desaturated colors of #2d2f07
HSL Code | Preview |
---|---|
hsl(63, 10%, 11%) | |
hsl(63, 20%, 11%) | |
hsl(63, 40%, 11%) | |
hsl(63, 60%, 11%) | |
hsl(63, 80%, 11%) | |
hsl(63, 100%, 11%) |
#2d2f07 Color Usage In CSS
body { color: #2d2f07; } p { color: rgb(45, 47, 07); } header { border-bottom:1px solid #2d2f07; }