#12a410 Color
Color Codes | |
---|---|
Hex Code | #12a410 |
RGB Code | rgb(18, 164, 16) |
HSL Code | hsl(119, 82%, 35%) |
#12a410 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(18, 164, 16); }
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(119, 82%, 35%); }
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 #12a410
RGB Code | Hex Code | Preview |
---|---|---|
rgb(18, 164, 16, 10%) | #12a4101a | |
rgb(18, 164, 16, 20%) | #12a41033 | |
rgb(18, 164, 16, 40%) | #12a4104C | |
rgb(18, 164, 16, 60%) | #12a41099 | |
rgb(18, 164, 16, 80%) | #12a410CC | |
rgb(18, 164, 16, 100%) | #12a410FF |
Saturated and desaturated colors of #12a410
HSL Code | Preview |
---|---|
hsl(119, 10%, 35%) | |
hsl(119, 20%, 35%) | |
hsl(119, 40%, 35%) | |
hsl(119, 60%, 35%) | |
hsl(119, 80%, 35%) | |
hsl(119, 100%, 35%) |
#12a410 Color Usage In CSS
body { color: #12a410; } p { color: rgb(18, 164, 16); } header { border-bottom:1px solid #12a410; }