#125325 Color
Color Codes | |
---|---|
Hex Code | #125325 |
RGB Code | rgb(18, 83, 37) |
HSL Code | hsl(138, 64%, 20%) |
#125325 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(18, 83, 37); }
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, 64%, 20%); }
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 #125325
RGB Code | Hex Code | Preview |
---|---|---|
rgb(18, 83, 37, 10%) | #1253251a | |
rgb(18, 83, 37, 20%) | #12532533 | |
rgb(18, 83, 37, 40%) | #1253254C | |
rgb(18, 83, 37, 60%) | #12532599 | |
rgb(18, 83, 37, 80%) | #125325CC | |
rgb(18, 83, 37, 100%) | #125325FF |
Saturated and desaturated colors of #125325
HSL Code | Preview |
---|---|
hsl(138, 10%, 20%) | |
hsl(138, 20%, 20%) | |
hsl(138, 40%, 20%) | |
hsl(138, 60%, 20%) | |
hsl(138, 80%, 20%) | |
hsl(138, 100%, 20%) |
#125325 Color Usage In CSS
body { color: #125325; } p { color: rgb(18, 83, 37); } header { border-bottom:1px solid #125325; }