#427d0c Color
Color Codes | |
---|---|
Hex Code | #427d0c |
RGB Code | rgb(66, 125, 12) |
HSL Code | hsl(91, 82%, 27%) |
#427d0c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(66, 125, 12); }
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(91, 82%, 27%); }
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 #427d0c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(66, 125, 12, 10%) | #427d0c1a | |
rgb(66, 125, 12, 20%) | #427d0c33 | |
rgb(66, 125, 12, 40%) | #427d0c4C | |
rgb(66, 125, 12, 60%) | #427d0c99 | |
rgb(66, 125, 12, 80%) | #427d0cCC | |
rgb(66, 125, 12, 100%) | #427d0cFF |
Saturated and desaturated colors of #427d0c
HSL Code | Preview |
---|---|
hsl(91, 10%, 27%) | |
hsl(91, 20%, 27%) | |
hsl(91, 40%, 27%) | |
hsl(91, 60%, 27%) | |
hsl(91, 80%, 27%) | |
hsl(91, 100%, 27%) |
#427d0c Color Usage In CSS
body { color: #427d0c; } p { color: rgb(66, 125, 12); } header { border-bottom:1px solid #427d0c; }