Random Color Generator

#b94afe Color

Color Codes
Hex Code #b94afe
RGB Code rgb(185, 74, 254)
HSL Code hsl(277, 99%, 64%)

#b94afe Color Syntax

rgb()

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

 main {
    background-color: rgb(185, 74, 254);
   }

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(277, 99%, 64%);
  }

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

RGB Code Hex Code Preview
rgb(185, 74, 254, 10%) #b94afe1a  
rgb(185, 74, 254, 20%) #b94afe33  
rgb(185, 74, 254, 40%) #b94afe4C  
rgb(185, 74, 254, 60%) #b94afe99  
rgb(185, 74, 254, 80%) #b94afeCC  
rgb(185, 74, 254, 100%) #b94afeFF  

Saturated and desaturated colors of #b94afe

HSL Code Preview
hsl(277, 10%, 64%)  
hsl(277, 20%, 64%)  
hsl(277, 40%, 64%)  
hsl(277, 60%, 64%)  
hsl(277, 80%, 64%)  
hsl(277, 100%, 64%)  

#b94afe Color Usage In CSS

 body {
    color: #b94afe;
    }
 p {
    color: rgb(185, 74, 254);
    }
 header {
    border-bottom:1px solid #b94afe;
    }
Recent Random Colors