Random Color Generator

#b342bd Color

Color Codes
Hex Code #b342bd
RGB Code rgb(179, 66, 189)
HSL Code hsl(295, 48%, 50%)

#b342bd Color Syntax

rgb()

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

 main {
    background-color: rgb(179, 66, 189);
   }

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(295, 48%, 50%);
  }

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

RGB Code Hex Code Preview
rgb(179, 66, 189, 10%) #b342bd1a  
rgb(179, 66, 189, 20%) #b342bd33  
rgb(179, 66, 189, 40%) #b342bd4C  
rgb(179, 66, 189, 60%) #b342bd99  
rgb(179, 66, 189, 80%) #b342bdCC  
rgb(179, 66, 189, 100%) #b342bdFF  

Saturated and desaturated colors of #b342bd

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

#b342bd Color Usage In CSS

 body {
    color: #b342bd;
    }
 p {
    color: rgb(179, 66, 189);
    }
 header {
    border-bottom:1px solid #b342bd;
    }
Recent Random Colors