Random Color Generator

#bb5fef Color

Color Codes
Hex Code #bb5fef
RGB Code rgb(187, 95, 239)
HSL Code hsl(278, 82%, 65%)

#bb5fef Color Syntax

rgb()

 rgb(Red, Green, Blue);
 rgba(Red, Green, Blue, Alpha);

 main {
    background-color: rgb(187, 95, 239);
   }

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(278, 82%, 65%);
  }

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 #bb5fef

RGB Code Hex Code Preview
rgb(187, 95, 239, 10%) #bb5fef1a  
rgb(187, 95, 239, 20%) #bb5fef33  
rgb(187, 95, 239, 40%) #bb5fef4C  
rgb(187, 95, 239, 60%) #bb5fef99  
rgb(187, 95, 239, 80%) #bb5fefCC  
rgb(187, 95, 239, 100%) #bb5fefFF  

Saturated and desaturated colors of #bb5fef

HSL Code Preview
hsl(278, 10%, 65%)  
hsl(278, 20%, 65%)  
hsl(278, 40%, 65%)  
hsl(278, 60%, 65%)  
hsl(278, 80%, 65%)  
hsl(278, 100%, 65%)  

#bb5fef Color Usage In CSS

 body {
    color: #bb5fef;
    }
 p {
    color: rgb(187, 95, 239);
    }
 header {
    border-bottom:1px solid #bb5fef;
    }
Recent Random Colors