#0db56c Color
Color Codes | |
---|---|
Hex Code | #0db56c |
RGB Code | rgb(13, 181, 108) |
HSL Code | hsl(154, 87%, 38%) |
#0db56c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(13, 181, 108); }
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(154, 87%, 38%); }
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 #0db56c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(13, 181, 108, 10%) | #0db56c1a | |
rgb(13, 181, 108, 20%) | #0db56c33 | |
rgb(13, 181, 108, 40%) | #0db56c4C | |
rgb(13, 181, 108, 60%) | #0db56c99 | |
rgb(13, 181, 108, 80%) | #0db56cCC | |
rgb(13, 181, 108, 100%) | #0db56cFF |
Saturated and desaturated colors of #0db56c
HSL Code | Preview |
---|---|
hsl(154, 10%, 38%) | |
hsl(154, 20%, 38%) | |
hsl(154, 40%, 38%) | |
hsl(154, 60%, 38%) | |
hsl(154, 80%, 38%) | |
hsl(154, 100%, 38%) |
#0db56c Color Usage In CSS
body { color: #0db56c; } p { color: rgb(13, 181, 108); } header { border-bottom:1px solid #0db56c; }