#bf01ff Color
Color Codes | |
---|---|
Hex Code | #bf01ff |
RGB Code | rgb(191, 01, 255) |
HSL Code | hsl(285, 100%, 50%) |
#bf01ff Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(191, 01, 255); }
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(285, 100%, 50%); }
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 #bf01ff
RGB Code | Hex Code | Preview |
---|---|---|
rgb(191, 01, 255, 10%) | #bf01ff1a | |
rgb(191, 01, 255, 20%) | #bf01ff33 | |
rgb(191, 01, 255, 40%) | #bf01ff4C | |
rgb(191, 01, 255, 60%) | #bf01ff99 | |
rgb(191, 01, 255, 80%) | #bf01ffCC | |
rgb(191, 01, 255, 100%) | #bf01ffFF |
Saturated and desaturated colors of #bf01ff
HSL Code | Preview |
---|---|
hsl(285, 10%, 50%) | |
hsl(285, 20%, 50%) | |
hsl(285, 40%, 50%) | |
hsl(285, 60%, 50%) | |
hsl(285, 80%, 50%) | |
hsl(285, 100%, 50%) |
#bf01ff Color Usage In CSS
body { color: #bf01ff; } p { color: rgb(191, 01, 255); } header { border-bottom:1px solid #bf01ff; }