Random Color Generator

#b450a8 Color

Color Codes
Hex Code #b450a8
RGB Code rgb(180, 80, 168)
HSL Code hsl(307, 40%, 51%)

#b450a8 Color Syntax

rgb()

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

 main {
    background-color: rgb(180, 80, 168);
   }

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(307, 40%, 51%);
  }

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

RGB Code Hex Code Preview
rgb(180, 80, 168, 10%) #b450a81a  
rgb(180, 80, 168, 20%) #b450a833  
rgb(180, 80, 168, 40%) #b450a84C  
rgb(180, 80, 168, 60%) #b450a899  
rgb(180, 80, 168, 80%) #b450a8CC  
rgb(180, 80, 168, 100%) #b450a8FF  

Saturated and desaturated colors of #b450a8

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

#b450a8 Color Usage In CSS

 body {
    color: #b450a8;
    }
 p {
    color: rgb(180, 80, 168);
    }
 header {
    border-bottom:1px solid #b450a8;
    }
Recent Random Colors