#271208 Color
Color Codes | |
---|---|
Hex Code | #271208 |
RGB Code | rgb(39, 18, 08) |
HSL Code | hsl(19, 66%, 9%) |
#271208 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(39, 18, 08); }
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(19, 66%, 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 #271208
RGB Code | Hex Code | Preview |
---|---|---|
rgb(39, 18, 08, 10%) | #2712081a | |
rgb(39, 18, 08, 20%) | #27120833 | |
rgb(39, 18, 08, 40%) | #2712084C | |
rgb(39, 18, 08, 60%) | #27120899 | |
rgb(39, 18, 08, 80%) | #271208CC | |
rgb(39, 18, 08, 100%) | #271208FF |
Saturated and desaturated colors of #271208
HSL Code | Preview |
---|---|
hsl(19, 10%, 9%) | |
hsl(19, 20%, 9%) | |
hsl(19, 40%, 9%) | |
hsl(19, 60%, 9%) | |
hsl(19, 80%, 9%) | |
hsl(19, 100%, 9%) |
#271208 Color Usage In CSS
body { color: #271208; } p { color: rgb(39, 18, 08); } header { border-bottom:1px solid #271208; }