#4f064c Color
Color Codes | |
---|---|
Hex Code | #4f064c |
RGB Code | rgb(79, 06, 76) |
HSL Code | hsl(302, 86%, 17%) |
#4f064c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(79, 06, 76); }
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(302, 86%, 17%); }
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 #4f064c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(79, 06, 76, 10%) | #4f064c1a | |
rgb(79, 06, 76, 20%) | #4f064c33 | |
rgb(79, 06, 76, 40%) | #4f064c4C | |
rgb(79, 06, 76, 60%) | #4f064c99 | |
rgb(79, 06, 76, 80%) | #4f064cCC | |
rgb(79, 06, 76, 100%) | #4f064cFF |
Saturated and desaturated colors of #4f064c
HSL Code | Preview |
---|---|
hsl(302, 10%, 17%) | |
hsl(302, 20%, 17%) | |
hsl(302, 40%, 17%) | |
hsl(302, 60%, 17%) | |
hsl(302, 80%, 17%) | |
hsl(302, 100%, 17%) |
#4f064c Color Usage In CSS
body { color: #4f064c; } p { color: rgb(79, 06, 76); } header { border-bottom:1px solid #4f064c; }