#0f241a Color
Color Codes | |
---|---|
Hex Code | #0f241a |
RGB Code | rgb(15, 36, 26) |
HSL Code | hsl(151, 41%, 10%) |
#0f241a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(15, 36, 26); }
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(151, 41%, 10%); }
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 #0f241a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(15, 36, 26, 10%) | #0f241a1a | |
rgb(15, 36, 26, 20%) | #0f241a33 | |
rgb(15, 36, 26, 40%) | #0f241a4C | |
rgb(15, 36, 26, 60%) | #0f241a99 | |
rgb(15, 36, 26, 80%) | #0f241aCC | |
rgb(15, 36, 26, 100%) | #0f241aFF |
Saturated and desaturated colors of #0f241a
HSL Code | Preview |
---|---|
hsl(151, 10%, 10%) | |
hsl(151, 20%, 10%) | |
hsl(151, 40%, 10%) | |
hsl(151, 60%, 10%) | |
hsl(151, 80%, 10%) | |
hsl(151, 100%, 10%) |
#0f241a Color Usage In CSS
body { color: #0f241a; } p { color: rgb(15, 36, 26); } header { border-bottom:1px solid #0f241a; }