#0ca109 Color
Color Codes | |
---|---|
Hex Code | #0ca109 |
RGB Code | rgb(12, 161, 09) |
HSL Code | hsl(119, 89%, 33%) |
#0ca109 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(12, 161, 09); }
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, 89%, 33%); }
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 #0ca109
RGB Code | Hex Code | Preview |
---|---|---|
rgb(12, 161, 09, 10%) | #0ca1091a | |
rgb(12, 161, 09, 20%) | #0ca10933 | |
rgb(12, 161, 09, 40%) | #0ca1094C | |
rgb(12, 161, 09, 60%) | #0ca10999 | |
rgb(12, 161, 09, 80%) | #0ca109CC | |
rgb(12, 161, 09, 100%) | #0ca109FF |
Saturated and desaturated colors of #0ca109
HSL Code | Preview |
---|---|
hsl(119, 10%, 33%) | |
hsl(119, 20%, 33%) | |
hsl(119, 40%, 33%) | |
hsl(119, 60%, 33%) | |
hsl(119, 80%, 33%) | |
hsl(119, 100%, 33%) |
#0ca109 Color Usage In CSS
body { color: #0ca109; } p { color: rgb(12, 161, 09); } header { border-bottom:1px solid #0ca109; }