#0f6c59 Color
Color Codes | |
---|---|
Hex Code | #0f6c59 |
RGB Code | rgb(15, 108, 89) |
HSL Code | hsl(168, 76%, 24%) |
#0f6c59 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(15, 108, 89); }
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(168, 76%, 24%); }
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 #0f6c59
RGB Code | Hex Code | Preview |
---|---|---|
rgb(15, 108, 89, 10%) | #0f6c591a | |
rgb(15, 108, 89, 20%) | #0f6c5933 | |
rgb(15, 108, 89, 40%) | #0f6c594C | |
rgb(15, 108, 89, 60%) | #0f6c5999 | |
rgb(15, 108, 89, 80%) | #0f6c59CC | |
rgb(15, 108, 89, 100%) | #0f6c59FF |
Saturated and desaturated colors of #0f6c59
HSL Code | Preview |
---|---|
hsl(168, 10%, 24%) | |
hsl(168, 20%, 24%) | |
hsl(168, 40%, 24%) | |
hsl(168, 60%, 24%) | |
hsl(168, 80%, 24%) | |
hsl(168, 100%, 24%) |
#0f6c59 Color Usage In CSS
body { color: #0f6c59; } p { color: rgb(15, 108, 89); } header { border-bottom:1px solid #0f6c59; }