Random Color Generator

#b01eac Color

Color Codes
Hex Code #b01eac
RGB Code rgb(176, 30, 172)
HSL Code hsl(302, 71%, 40%)

#b01eac Color Syntax

rgb()

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

 main {
    background-color: rgb(176, 30, 172);
   }

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(302, 71%, 40%);
  }

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

RGB Code Hex Code Preview
rgb(176, 30, 172, 10%) #b01eac1a  
rgb(176, 30, 172, 20%) #b01eac33  
rgb(176, 30, 172, 40%) #b01eac4C  
rgb(176, 30, 172, 60%) #b01eac99  
rgb(176, 30, 172, 80%) #b01eacCC  
rgb(176, 30, 172, 100%) #b01eacFF  

Saturated and desaturated colors of #b01eac

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

#b01eac Color Usage In CSS

 body {
    color: #b01eac;
    }
 p {
    color: rgb(176, 30, 172);
    }
 header {
    border-bottom:1px solid #b01eac;
    }
Recent Random Colors