Random Color Generator

#7d19d2 Color

Color Codes
Hex Code #7d19d2
RGB Code rgb(125, 25, 210)
HSL Code hsl(272, 79%, 46%)

#7d19d2 Color Syntax

rgb()

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

 main {
    background-color: rgb(125, 25, 210);
   }

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(272, 79%, 46%);
  }

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

RGB Code Hex Code Preview
rgb(125, 25, 210, 10%) #7d19d21a  
rgb(125, 25, 210, 20%) #7d19d233  
rgb(125, 25, 210, 40%) #7d19d24C  
rgb(125, 25, 210, 60%) #7d19d299  
rgb(125, 25, 210, 80%) #7d19d2CC  
rgb(125, 25, 210, 100%) #7d19d2FF  

Saturated and desaturated colors of #7d19d2

HSL Code Preview
hsl(272, 10%, 46%)  
hsl(272, 20%, 46%)  
hsl(272, 40%, 46%)  
hsl(272, 60%, 46%)  
hsl(272, 80%, 46%)  
hsl(272, 100%, 46%)  

#7d19d2 Color Usage In CSS

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