Random Color Generator

#b27cbc Color

Color Codes
Hex Code #b27cbc
RGB Code rgb(178, 124, 188)
HSL Code hsl(291, 32%, 61%)

#b27cbc Color Syntax

rgb()

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

 main {
    background-color: rgb(178, 124, 188);
   }

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, 32%, 61%);
  }

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

RGB Code Hex Code Preview
rgb(178, 124, 188, 10%) #b27cbc1a  
rgb(178, 124, 188, 20%) #b27cbc33  
rgb(178, 124, 188, 40%) #b27cbc4C  
rgb(178, 124, 188, 60%) #b27cbc99  
rgb(178, 124, 188, 80%) #b27cbcCC  
rgb(178, 124, 188, 100%) #b27cbcFF  

Saturated and desaturated colors of #b27cbc

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

#b27cbc Color Usage In CSS

 body {
    color: #b27cbc;
    }
 p {
    color: rgb(178, 124, 188);
    }
 header {
    border-bottom:1px solid #b27cbc;
    }
Recent Random Colors