#4c066f Color
Color Codes | |
---|---|
Hex Code | #4c066f |
RGB Code | rgb(76, 06, 111) |
HSL Code | hsl(280, 90%, 23%) |
#4c066f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(76, 06, 111); }
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(280, 90%, 23%); }
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 #4c066f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(76, 06, 111, 10%) | #4c066f1a | |
rgb(76, 06, 111, 20%) | #4c066f33 | |
rgb(76, 06, 111, 40%) | #4c066f4C | |
rgb(76, 06, 111, 60%) | #4c066f99 | |
rgb(76, 06, 111, 80%) | #4c066fCC | |
rgb(76, 06, 111, 100%) | #4c066fFF |
Saturated and desaturated colors of #4c066f
HSL Code | Preview |
---|---|
hsl(280, 10%, 23%) | |
hsl(280, 20%, 23%) | |
hsl(280, 40%, 23%) | |
hsl(280, 60%, 23%) | |
hsl(280, 80%, 23%) | |
hsl(280, 100%, 23%) |
#4c066f Color Usage In CSS
body { color: #4c066f; } p { color: rgb(76, 06, 111); } header { border-bottom:1px solid #4c066f; }