#1c4505 Color
Color Codes | |
---|---|
Hex Code | #1c4505 |
RGB Code | rgb(28, 69, 05) |
HSL Code | hsl(98, 86%, 15%) |
#1c4505 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(28, 69, 05); }
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(98, 86%, 15%); }
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 #1c4505
RGB Code | Hex Code | Preview |
---|---|---|
rgb(28, 69, 05, 10%) | #1c45051a | |
rgb(28, 69, 05, 20%) | #1c450533 | |
rgb(28, 69, 05, 40%) | #1c45054C | |
rgb(28, 69, 05, 60%) | #1c450599 | |
rgb(28, 69, 05, 80%) | #1c4505CC | |
rgb(28, 69, 05, 100%) | #1c4505FF |
Saturated and desaturated colors of #1c4505
HSL Code | Preview |
---|---|
hsl(98, 10%, 15%) | |
hsl(98, 20%, 15%) | |
hsl(98, 40%, 15%) | |
hsl(98, 60%, 15%) | |
hsl(98, 80%, 15%) | |
hsl(98, 100%, 15%) |
#1c4505 Color Usage In CSS
body { color: #1c4505; } p { color: rgb(28, 69, 05); } header { border-bottom:1px solid #1c4505; }