Random Color Generator

#7e2483 Color

Color Codes
Hex Code #7e2483
RGB Code rgb(126, 36, 131)
HSL Code hsl(297, 57%, 33%)

#7e2483 Color Syntax

rgb()

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

 main {
    background-color: rgb(126, 36, 131);
   }

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(297, 57%, 33%);
  }

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

RGB Code Hex Code Preview
rgb(126, 36, 131, 10%) #7e24831a  
rgb(126, 36, 131, 20%) #7e248333  
rgb(126, 36, 131, 40%) #7e24834C  
rgb(126, 36, 131, 60%) #7e248399  
rgb(126, 36, 131, 80%) #7e2483CC  
rgb(126, 36, 131, 100%) #7e2483FF  

Saturated and desaturated colors of #7e2483

HSL Code Preview
hsl(297, 10%, 33%)  
hsl(297, 20%, 33%)  
hsl(297, 40%, 33%)  
hsl(297, 60%, 33%)  
hsl(297, 80%, 33%)  
hsl(297, 100%, 33%)  

#7e2483 Color Usage In CSS

 body {
    color: #7e2483;
    }
 p {
    color: rgb(126, 36, 131);
    }
 header {
    border-bottom:1px solid #7e2483;
    }
Recent Random Colors