Random Color Generator

#7c3bc2 Color

Color Codes
Hex Code #7c3bc2
RGB Code rgb(124, 59, 194)
HSL Code hsl(269, 53%, 50%)

#7c3bc2 Color Syntax

rgb()

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

 main {
    background-color: rgb(124, 59, 194);
   }

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, 53%, 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 #7c3bc2

RGB Code Hex Code Preview
rgb(124, 59, 194, 10%) #7c3bc21a  
rgb(124, 59, 194, 20%) #7c3bc233  
rgb(124, 59, 194, 40%) #7c3bc24C  
rgb(124, 59, 194, 60%) #7c3bc299  
rgb(124, 59, 194, 80%) #7c3bc2CC  
rgb(124, 59, 194, 100%) #7c3bc2FF  

Saturated and desaturated colors of #7c3bc2

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%)  

#7c3bc2 Color Usage In CSS

 body {
    color: #7c3bc2;
    }
 p {
    color: rgb(124, 59, 194);
    }
 header {
    border-bottom:1px solid #7c3bc2;
    }
Recent Random Colors