Random Color Generator

#7d07ea Color

Color Codes
Hex Code #7d07ea
RGB Code rgb(125, 07, 234)
HSL Code hsl(271, 94%, 47%)

#7d07ea Color Syntax

rgb()

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

 main {
    background-color: rgb(125, 07, 234);
   }

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(271, 94%, 47%);
  }

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

RGB Code Hex Code Preview
rgb(125, 07, 234, 10%) #7d07ea1a  
rgb(125, 07, 234, 20%) #7d07ea33  
rgb(125, 07, 234, 40%) #7d07ea4C  
rgb(125, 07, 234, 60%) #7d07ea99  
rgb(125, 07, 234, 80%) #7d07eaCC  
rgb(125, 07, 234, 100%) #7d07eaFF  

Saturated and desaturated colors of #7d07ea

HSL Code Preview
hsl(271, 10%, 47%)  
hsl(271, 20%, 47%)  
hsl(271, 40%, 47%)  
hsl(271, 60%, 47%)  
hsl(271, 80%, 47%)  
hsl(271, 100%, 47%)  

#7d07ea Color Usage In CSS

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