#362f79 Color
Color Codes | |
---|---|
Hex Code | #362f79 |
RGB Code | rgb(54, 47, 121) |
HSL Code | hsl(246, 44%, 33%) |
#362f79 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(54, 47, 121); }
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(246, 44%, 33%); }
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 #362f79
RGB Code | Hex Code | Preview |
---|---|---|
rgb(54, 47, 121, 10%) | #362f791a | |
rgb(54, 47, 121, 20%) | #362f7933 | |
rgb(54, 47, 121, 40%) | #362f794C | |
rgb(54, 47, 121, 60%) | #362f7999 | |
rgb(54, 47, 121, 80%) | #362f79CC | |
rgb(54, 47, 121, 100%) | #362f79FF |
Saturated and desaturated colors of #362f79
HSL Code | Preview |
---|---|
hsl(246, 10%, 33%) | |
hsl(246, 20%, 33%) | |
hsl(246, 40%, 33%) | |
hsl(246, 60%, 33%) | |
hsl(246, 80%, 33%) | |
hsl(246, 100%, 33%) |
#362f79 Color Usage In CSS
body { color: #362f79; } p { color: rgb(54, 47, 121); } header { border-bottom:1px solid #362f79; }