#b27f7c Color
Color Codes | |
---|---|
Hex Code | #b27f7c |
RGB Code | rgb(178, 127, 124) |
HSL Code | hsl(3, 26%, 59%) |
#b27f7c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(178, 127, 124); }
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(3, 26%, 59%); }
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 #b27f7c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(178, 127, 124, 10%) | #b27f7c1a | |
rgb(178, 127, 124, 20%) | #b27f7c33 | |
rgb(178, 127, 124, 40%) | #b27f7c4C | |
rgb(178, 127, 124, 60%) | #b27f7c99 | |
rgb(178, 127, 124, 80%) | #b27f7cCC | |
rgb(178, 127, 124, 100%) | #b27f7cFF |
Saturated and desaturated colors of #b27f7c
HSL Code | Preview |
---|---|
hsl(3, 10%, 59%) | |
hsl(3, 20%, 59%) | |
hsl(3, 40%, 59%) | |
hsl(3, 60%, 59%) | |
hsl(3, 80%, 59%) | |
hsl(3, 100%, 59%) |
#b27f7c Color Usage In CSS
body { color: #b27f7c; } p { color: rgb(178, 127, 124); } header { border-bottom:1px solid #b27f7c; }