#bd25c7 Color
Color Codes | |
---|---|
Hex Code | #bd25c7 |
RGB Code | rgb(189, 37, 199) |
HSL Code | hsl(296, 69%, 46%) |
#bd25c7 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(189, 37, 199); }
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(296, 69%, 46%); }
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 #bd25c7
RGB Code | Hex Code | Preview |
---|---|---|
rgb(189, 37, 199, 10%) | #bd25c71a | |
rgb(189, 37, 199, 20%) | #bd25c733 | |
rgb(189, 37, 199, 40%) | #bd25c74C | |
rgb(189, 37, 199, 60%) | #bd25c799 | |
rgb(189, 37, 199, 80%) | #bd25c7CC | |
rgb(189, 37, 199, 100%) | #bd25c7FF |
Saturated and desaturated colors of #bd25c7
HSL Code | Preview |
---|---|
hsl(296, 10%, 46%) | |
hsl(296, 20%, 46%) | |
hsl(296, 40%, 46%) | |
hsl(296, 60%, 46%) | |
hsl(296, 80%, 46%) | |
hsl(296, 100%, 46%) |
#bd25c7 Color Usage In CSS
body { color: #bd25c7; } p { color: rgb(189, 37, 199); } header { border-bottom:1px solid #bd25c7; }