Random Color Generator

#b8a5fd Color

Color Codes
Hex Code #b8a5fd
RGB Code rgb(184, 165, 253)
HSL Code hsl(253, 96%, 82%)

#b8a5fd Color Syntax

rgb()

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

 main {
    background-color: rgb(184, 165, 253);
   }

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(253, 96%, 82%);
  }

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

RGB Code Hex Code Preview
rgb(184, 165, 253, 10%) #b8a5fd1a  
rgb(184, 165, 253, 20%) #b8a5fd33  
rgb(184, 165, 253, 40%) #b8a5fd4C  
rgb(184, 165, 253, 60%) #b8a5fd99  
rgb(184, 165, 253, 80%) #b8a5fdCC  
rgb(184, 165, 253, 100%) #b8a5fdFF  

Saturated and desaturated colors of #b8a5fd

HSL Code Preview
hsl(253, 10%, 82%)  
hsl(253, 20%, 82%)  
hsl(253, 40%, 82%)  
hsl(253, 60%, 82%)  
hsl(253, 80%, 82%)  
hsl(253, 100%, 82%)  

#b8a5fd Color Usage In CSS

 body {
    color: #b8a5fd;
    }
 p {
    color: rgb(184, 165, 253);
    }
 header {
    border-bottom:1px solid #b8a5fd;
    }
Recent Random Colors