#38001c Color
Color Codes | |
---|---|
Hex Code | #38001c |
RGB Code | rgb(56, 00, 28) |
HSL Code | hsl(330, 100%, 11%) |
#38001c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(56, 00, 28); }
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(330, 100%, 11%); }
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 #38001c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(56, 00, 28, 10%) | #38001c1a | |
rgb(56, 00, 28, 20%) | #38001c33 | |
rgb(56, 00, 28, 40%) | #38001c4C | |
rgb(56, 00, 28, 60%) | #38001c99 | |
rgb(56, 00, 28, 80%) | #38001cCC | |
rgb(56, 00, 28, 100%) | #38001cFF |
Saturated and desaturated colors of #38001c
HSL Code | Preview |
---|---|
hsl(330, 10%, 11%) | |
hsl(330, 20%, 11%) | |
hsl(330, 40%, 11%) | |
hsl(330, 60%, 11%) | |
hsl(330, 80%, 11%) | |
hsl(330, 100%, 11%) |
#38001c Color Usage In CSS
body { color: #38001c; } p { color: rgb(56, 00, 28); } header { border-bottom:1px solid #38001c; }