#b74f51 Color
Color Codes | |
---|---|
Hex Code | #b74f51 |
RGB Code | rgb(183, 79, 81) |
HSL Code | hsl(359, 42%, 51%) |
#b74f51 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(183, 79, 81); }
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(359, 42%, 51%); }
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 #b74f51
RGB Code | Hex Code | Preview |
---|---|---|
rgb(183, 79, 81, 10%) | #b74f511a | |
rgb(183, 79, 81, 20%) | #b74f5133 | |
rgb(183, 79, 81, 40%) | #b74f514C | |
rgb(183, 79, 81, 60%) | #b74f5199 | |
rgb(183, 79, 81, 80%) | #b74f51CC | |
rgb(183, 79, 81, 100%) | #b74f51FF |
Saturated and desaturated colors of #b74f51
HSL Code | Preview |
---|---|
hsl(359, 10%, 51%) | |
hsl(359, 20%, 51%) | |
hsl(359, 40%, 51%) | |
hsl(359, 60%, 51%) | |
hsl(359, 80%, 51%) | |
hsl(359, 100%, 51%) |
#b74f51 Color Usage In CSS
body { color: #b74f51; } p { color: rgb(183, 79, 81); } header { border-bottom:1px solid #b74f51; }