#0a8230 Color
Color Codes | |
---|---|
Hex Code | #0a8230 |
RGB Code | rgb(10, 130, 48) |
HSL Code | hsl(139, 86%, 27%) |
#0a8230 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(10, 130, 48); }
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(139, 86%, 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 #0a8230
RGB Code | Hex Code | Preview |
---|---|---|
rgb(10, 130, 48, 10%) | #0a82301a | |
rgb(10, 130, 48, 20%) | #0a823033 | |
rgb(10, 130, 48, 40%) | #0a82304C | |
rgb(10, 130, 48, 60%) | #0a823099 | |
rgb(10, 130, 48, 80%) | #0a8230CC | |
rgb(10, 130, 48, 100%) | #0a8230FF |
Saturated and desaturated colors of #0a8230
HSL Code | Preview |
---|---|
hsl(139, 10%, 27%) | |
hsl(139, 20%, 27%) | |
hsl(139, 40%, 27%) | |
hsl(139, 60%, 27%) | |
hsl(139, 80%, 27%) | |
hsl(139, 100%, 27%) |
#0a8230 Color Usage In CSS
body { color: #0a8230; } p { color: rgb(10, 130, 48); } header { border-bottom:1px solid #0a8230; }