#bd1070 Color
Color Codes | |
---|---|
Hex Code | #bd1070 |
RGB Code | rgb(189, 16, 112) |
HSL Code | hsl(327, 84%, 40%) |
#bd1070 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(189, 16, 112); }
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(327, 84%, 40%); }
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 #bd1070
RGB Code | Hex Code | Preview |
---|---|---|
rgb(189, 16, 112, 10%) | #bd10701a | |
rgb(189, 16, 112, 20%) | #bd107033 | |
rgb(189, 16, 112, 40%) | #bd10704C | |
rgb(189, 16, 112, 60%) | #bd107099 | |
rgb(189, 16, 112, 80%) | #bd1070CC | |
rgb(189, 16, 112, 100%) | #bd1070FF |
Saturated and desaturated colors of #bd1070
HSL Code | Preview |
---|---|
hsl(327, 10%, 40%) | |
hsl(327, 20%, 40%) | |
hsl(327, 40%, 40%) | |
hsl(327, 60%, 40%) | |
hsl(327, 80%, 40%) | |
hsl(327, 100%, 40%) |
#bd1070 Color Usage In CSS
body { color: #bd1070; } p { color: rgb(189, 16, 112); } header { border-bottom:1px solid #bd1070; }