#400630 Color
Color Codes | |
---|---|
Hex Code | #400630 |
RGB Code | rgb(64, 06, 48) |
HSL Code | hsl(317, 83%, 14%) |
#400630 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(64, 06, 48); }
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(317, 83%, 14%); }
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 #400630
RGB Code | Hex Code | Preview |
---|---|---|
rgb(64, 06, 48, 10%) | #4006301a | |
rgb(64, 06, 48, 20%) | #40063033 | |
rgb(64, 06, 48, 40%) | #4006304C | |
rgb(64, 06, 48, 60%) | #40063099 | |
rgb(64, 06, 48, 80%) | #400630CC | |
rgb(64, 06, 48, 100%) | #400630FF |
Saturated and desaturated colors of #400630
HSL Code | Preview |
---|---|
hsl(317, 10%, 14%) | |
hsl(317, 20%, 14%) | |
hsl(317, 40%, 14%) | |
hsl(317, 60%, 14%) | |
hsl(317, 80%, 14%) | |
hsl(317, 100%, 14%) |
#400630 Color Usage In CSS
body { color: #400630; } p { color: rgb(64, 06, 48); } header { border-bottom:1px solid #400630; }