Random Color Generator

#7d27da Color

Color Codes
Hex Code #7d27da
RGB Code rgb(125, 39, 218)
HSL Code hsl(269, 71%, 50%)

#7d27da Color Syntax

rgb()

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

 main {
    background-color: rgb(125, 39, 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(269, 71%, 50%);
  }

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

RGB Code Hex Code Preview
rgb(125, 39, 218, 10%) #7d27da1a  
rgb(125, 39, 218, 20%) #7d27da33  
rgb(125, 39, 218, 40%) #7d27da4C  
rgb(125, 39, 218, 60%) #7d27da99  
rgb(125, 39, 218, 80%) #7d27daCC  
rgb(125, 39, 218, 100%) #7d27daFF  

Saturated and desaturated colors of #7d27da

HSL Code Preview
hsl(269, 10%, 50%)  
hsl(269, 20%, 50%)  
hsl(269, 40%, 50%)  
hsl(269, 60%, 50%)  
hsl(269, 80%, 50%)  
hsl(269, 100%, 50%)  

#7d27da Color Usage In CSS

 body {
    color: #7d27da;
    }
 p {
    color: rgb(125, 39, 218);
    }
 header {
    border-bottom:1px solid #7d27da;
    }
Recent Random Colors