Random Color Generator

#b462e5 Color

Color Codes
Hex Code #b462e5
RGB Code rgb(180, 98, 229)
HSL Code hsl(278, 72%, 64%)

#b462e5 Color Syntax

rgb()

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

 main {
    background-color: rgb(180, 98, 229);
   }

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(278, 72%, 64%);
  }

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

RGB Code Hex Code Preview
rgb(180, 98, 229, 10%) #b462e51a  
rgb(180, 98, 229, 20%) #b462e533  
rgb(180, 98, 229, 40%) #b462e54C  
rgb(180, 98, 229, 60%) #b462e599  
rgb(180, 98, 229, 80%) #b462e5CC  
rgb(180, 98, 229, 100%) #b462e5FF  

Saturated and desaturated colors of #b462e5

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

#b462e5 Color Usage In CSS

 body {
    color: #b462e5;
    }
 p {
    color: rgb(180, 98, 229);
    }
 header {
    border-bottom:1px solid #b462e5;
    }
Recent Random Colors