#275f0f Color
Color Codes | |
---|---|
Hex Code | #275f0f |
RGB Code | rgb(39, 95, 15) |
HSL Code | hsl(102, 73%, 22%) |
#275f0f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(39, 95, 15); }
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(102, 73%, 22%); }
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 #275f0f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(39, 95, 15, 10%) | #275f0f1a | |
rgb(39, 95, 15, 20%) | #275f0f33 | |
rgb(39, 95, 15, 40%) | #275f0f4C | |
rgb(39, 95, 15, 60%) | #275f0f99 | |
rgb(39, 95, 15, 80%) | #275f0fCC | |
rgb(39, 95, 15, 100%) | #275f0fFF |
Saturated and desaturated colors of #275f0f
HSL Code | Preview |
---|---|
hsl(102, 10%, 22%) | |
hsl(102, 20%, 22%) | |
hsl(102, 40%, 22%) | |
hsl(102, 60%, 22%) | |
hsl(102, 80%, 22%) | |
hsl(102, 100%, 22%) |
#275f0f Color Usage In CSS
body { color: #275f0f; } p { color: rgb(39, 95, 15); } header { border-bottom:1px solid #275f0f; }