#0c2309 Color
Color Codes | |
---|---|
Hex Code | #0c2309 |
RGB Code | rgb(12, 35, 09) |
HSL Code | hsl(113, 59%, 9%) |
#0c2309 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(12, 35, 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(113, 59%, 9%); }
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 #0c2309
RGB Code | Hex Code | Preview |
---|---|---|
rgb(12, 35, 09, 10%) | #0c23091a | |
rgb(12, 35, 09, 20%) | #0c230933 | |
rgb(12, 35, 09, 40%) | #0c23094C | |
rgb(12, 35, 09, 60%) | #0c230999 | |
rgb(12, 35, 09, 80%) | #0c2309CC | |
rgb(12, 35, 09, 100%) | #0c2309FF |
Saturated and desaturated colors of #0c2309
HSL Code | Preview |
---|---|
hsl(113, 10%, 9%) | |
hsl(113, 20%, 9%) | |
hsl(113, 40%, 9%) | |
hsl(113, 60%, 9%) | |
hsl(113, 80%, 9%) | |
hsl(113, 100%, 9%) |
#0c2309 Color Usage In CSS
body { color: #0c2309; } p { color: rgb(12, 35, 09); } header { border-bottom:1px solid #0c2309; }