#074118 Color
Color Codes | |
---|---|
Hex Code | #074118 |
RGB Code | rgb(07, 65, 24) |
HSL Code | hsl(138, 81%, 14%) |
#074118 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(07, 65, 24); }
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(138, 81%, 14%); }
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 #074118
RGB Code | Hex Code | Preview |
---|---|---|
rgb(07, 65, 24, 10%) | #0741181a | |
rgb(07, 65, 24, 20%) | #07411833 | |
rgb(07, 65, 24, 40%) | #0741184C | |
rgb(07, 65, 24, 60%) | #07411899 | |
rgb(07, 65, 24, 80%) | #074118CC | |
rgb(07, 65, 24, 100%) | #074118FF |
Saturated and desaturated colors of #074118
HSL Code | Preview |
---|---|
hsl(138, 10%, 14%) | |
hsl(138, 20%, 14%) | |
hsl(138, 40%, 14%) | |
hsl(138, 60%, 14%) | |
hsl(138, 80%, 14%) | |
hsl(138, 100%, 14%) |
#074118 Color Usage In CSS
body { color: #074118; } p { color: rgb(07, 65, 24); } header { border-bottom:1px solid #074118; }