#4d265c Color
Color Codes | |
---|---|
Hex Code | #4d265c |
RGB Code | rgb(77, 38, 92) |
HSL Code | hsl(283, 42%, 25%) |
#4d265c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(77, 38, 92); }
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(283, 42%, 25%); }
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 #4d265c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(77, 38, 92, 10%) | #4d265c1a | |
rgb(77, 38, 92, 20%) | #4d265c33 | |
rgb(77, 38, 92, 40%) | #4d265c4C | |
rgb(77, 38, 92, 60%) | #4d265c99 | |
rgb(77, 38, 92, 80%) | #4d265cCC | |
rgb(77, 38, 92, 100%) | #4d265cFF |
Saturated and desaturated colors of #4d265c
HSL Code | Preview |
---|---|
hsl(283, 10%, 25%) | |
hsl(283, 20%, 25%) | |
hsl(283, 40%, 25%) | |
hsl(283, 60%, 25%) | |
hsl(283, 80%, 25%) | |
hsl(283, 100%, 25%) |
#4d265c Color Usage In CSS
body { color: #4d265c; } p { color: rgb(77, 38, 92); } header { border-bottom:1px solid #4d265c; }