Random Color Generator

#bf7fca Color

Color Codes
Hex Code #bf7fca
RGB Code rgb(191, 127, 202)
HSL Code hsl(291, 41%, 65%)

#bf7fca Color Syntax

rgb()

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

 main {
    background-color: rgb(191, 127, 202);
   }

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(291, 41%, 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 #bf7fca

RGB Code Hex Code Preview
rgb(191, 127, 202, 10%) #bf7fca1a  
rgb(191, 127, 202, 20%) #bf7fca33  
rgb(191, 127, 202, 40%) #bf7fca4C  
rgb(191, 127, 202, 60%) #bf7fca99  
rgb(191, 127, 202, 80%) #bf7fcaCC  
rgb(191, 127, 202, 100%) #bf7fcaFF  

Saturated and desaturated colors of #bf7fca

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

#bf7fca Color Usage In CSS

 body {
    color: #bf7fca;
    }
 p {
    color: rgb(191, 127, 202);
    }
 header {
    border-bottom:1px solid #bf7fca;
    }
Recent Random Colors