Random Color Generator

#b81af9 Color

Color Codes
Hex Code #b81af9
RGB Code rgb(184, 26, 249)
HSL Code hsl(283, 95%, 54%)

#b81af9 Color Syntax

rgb()

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

 main {
    background-color: rgb(184, 26, 249);
   }

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(283, 95%, 54%);
  }

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

RGB Code Hex Code Preview
rgb(184, 26, 249, 10%) #b81af91a  
rgb(184, 26, 249, 20%) #b81af933  
rgb(184, 26, 249, 40%) #b81af94C  
rgb(184, 26, 249, 60%) #b81af999  
rgb(184, 26, 249, 80%) #b81af9CC  
rgb(184, 26, 249, 100%) #b81af9FF  

Saturated and desaturated colors of #b81af9

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

#b81af9 Color Usage In CSS

 body {
    color: #b81af9;
    }
 p {
    color: rgb(184, 26, 249);
    }
 header {
    border-bottom:1px solid #b81af9;
    }
Recent Random Colors