Random Color Generator

#8145da Color

Color Codes
Hex Code #8145da
RGB Code rgb(129, 69, 218)
HSL Code hsl(264, 67%, 56%)

#8145da Color Syntax

rgb()

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

 main {
    background-color: rgb(129, 69, 218);
   }

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(264, 67%, 56%);
  }

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 #8145da

RGB Code Hex Code Preview
rgb(129, 69, 218, 10%) #8145da1a  
rgb(129, 69, 218, 20%) #8145da33  
rgb(129, 69, 218, 40%) #8145da4C  
rgb(129, 69, 218, 60%) #8145da99  
rgb(129, 69, 218, 80%) #8145daCC  
rgb(129, 69, 218, 100%) #8145daFF  

Saturated and desaturated colors of #8145da

HSL Code Preview
hsl(264, 10%, 56%)  
hsl(264, 20%, 56%)  
hsl(264, 40%, 56%)  
hsl(264, 60%, 56%)  
hsl(264, 80%, 56%)  
hsl(264, 100%, 56%)  

#8145da Color Usage In CSS

 body {
    color: #8145da;
    }
 p {
    color: rgb(129, 69, 218);
    }
 header {
    border-bottom:1px solid #8145da;
    }
Recent Random Colors