#383952 Color
Color Codes | |
---|---|
Hex Code | #383952 |
RGB Code | rgb(56, 57, 82) |
HSL Code | hsl(238, 19%, 27%) |
#383952 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(56, 57, 82); }
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(238, 19%, 27%); }
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 #383952
RGB Code | Hex Code | Preview |
---|---|---|
rgb(56, 57, 82, 10%) | #3839521a | |
rgb(56, 57, 82, 20%) | #38395233 | |
rgb(56, 57, 82, 40%) | #3839524C | |
rgb(56, 57, 82, 60%) | #38395299 | |
rgb(56, 57, 82, 80%) | #383952CC | |
rgb(56, 57, 82, 100%) | #383952FF |
Saturated and desaturated colors of #383952
HSL Code | Preview |
---|---|
hsl(238, 10%, 27%) | |
hsl(238, 20%, 27%) | |
hsl(238, 40%, 27%) | |
hsl(238, 60%, 27%) | |
hsl(238, 80%, 27%) | |
hsl(238, 100%, 27%) |
#383952 Color Usage In CSS
body { color: #383952; } p { color: rgb(56, 57, 82); } header { border-bottom:1px solid #383952; }