#5f264c Color
Color Codes | |
---|---|
Hex Code | #5f264c |
RGB Code | rgb(95, 38, 76) |
HSL Code | hsl(320, 43%, 26%) |
#5f264c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(95, 38, 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(320, 43%, 26%); }
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 #5f264c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(95, 38, 76, 10%) | #5f264c1a | |
rgb(95, 38, 76, 20%) | #5f264c33 | |
rgb(95, 38, 76, 40%) | #5f264c4C | |
rgb(95, 38, 76, 60%) | #5f264c99 | |
rgb(95, 38, 76, 80%) | #5f264cCC | |
rgb(95, 38, 76, 100%) | #5f264cFF |
Saturated and desaturated colors of #5f264c
HSL Code | Preview |
---|---|
hsl(320, 10%, 26%) | |
hsl(320, 20%, 26%) | |
hsl(320, 40%, 26%) | |
hsl(320, 60%, 26%) | |
hsl(320, 80%, 26%) | |
hsl(320, 100%, 26%) |
#5f264c Color Usage In CSS
body { color: #5f264c; } p { color: rgb(95, 38, 76); } header { border-bottom:1px solid #5f264c; }