Random Color Generator

#8148c4 Color

Color Codes
Hex Code #8148c4
RGB Code rgb(129, 72, 196)
HSL Code hsl(268, 51%, 53%)

#8148c4 Color Syntax

rgb()

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

 main {
    background-color: rgb(129, 72, 196);
   }

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(268, 51%, 53%);
  }

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 #8148c4

RGB Code Hex Code Preview
rgb(129, 72, 196, 10%) #8148c41a  
rgb(129, 72, 196, 20%) #8148c433  
rgb(129, 72, 196, 40%) #8148c44C  
rgb(129, 72, 196, 60%) #8148c499  
rgb(129, 72, 196, 80%) #8148c4CC  
rgb(129, 72, 196, 100%) #8148c4FF  

Saturated and desaturated colors of #8148c4

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

#8148c4 Color Usage In CSS

 body {
    color: #8148c4;
    }
 p {
    color: rgb(129, 72, 196);
    }
 header {
    border-bottom:1px solid #8148c4;
    }
Recent Random Colors