Random Color Generator

#b1a3f0 Color

Color Codes
Hex Code #b1a3f0
RGB Code rgb(177, 163, 240)
HSL Code hsl(251, 72%, 79%)

#b1a3f0 Color Syntax

rgb()

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

 main {
    background-color: rgb(177, 163, 240);
   }

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(251, 72%, 79%);
  }

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

RGB Code Hex Code Preview
rgb(177, 163, 240, 10%) #b1a3f01a  
rgb(177, 163, 240, 20%) #b1a3f033  
rgb(177, 163, 240, 40%) #b1a3f04C  
rgb(177, 163, 240, 60%) #b1a3f099  
rgb(177, 163, 240, 80%) #b1a3f0CC  
rgb(177, 163, 240, 100%) #b1a3f0FF  

Saturated and desaturated colors of #b1a3f0

HSL Code Preview
hsl(251, 10%, 79%)  
hsl(251, 20%, 79%)  
hsl(251, 40%, 79%)  
hsl(251, 60%, 79%)  
hsl(251, 80%, 79%)  
hsl(251, 100%, 79%)  

#b1a3f0 Color Usage In CSS

 body {
    color: #b1a3f0;
    }
 p {
    color: rgb(177, 163, 240);
    }
 header {
    border-bottom:1px solid #b1a3f0;
    }
Recent Random Colors