#b657e7 Color
Color Codes | |
---|---|
Hex Code | #b657e7 |
RGB Code | rgb(182, 87, 231) |
HSL Code | hsl(280, 75%, 62%) |
#b657e7 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(182, 87, 231); }
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(280, 75%, 62%); }
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 #b657e7
RGB Code | Hex Code | Preview |
---|---|---|
rgb(182, 87, 231, 10%) | #b657e71a | |
rgb(182, 87, 231, 20%) | #b657e733 | |
rgb(182, 87, 231, 40%) | #b657e74C | |
rgb(182, 87, 231, 60%) | #b657e799 | |
rgb(182, 87, 231, 80%) | #b657e7CC | |
rgb(182, 87, 231, 100%) | #b657e7FF |
Saturated and desaturated colors of #b657e7
HSL Code | Preview |
---|---|
hsl(280, 10%, 62%) | |
hsl(280, 20%, 62%) | |
hsl(280, 40%, 62%) | |
hsl(280, 60%, 62%) | |
hsl(280, 80%, 62%) | |
hsl(280, 100%, 62%) |
#b657e7 Color Usage In CSS
body { color: #b657e7; } p { color: rgb(182, 87, 231); } header { border-bottom:1px solid #b657e7; }