Random Color Generator

#7127ec Color

Color Codes
Hex Code #7127ec
RGB Code rgb(113, 39, 236)
HSL Code hsl(263, 84%, 54%)

#7127ec Color Syntax

rgb()

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

 main {
    background-color: rgb(113, 39, 236);
   }

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(263, 84%, 54%);
  }

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 #7127ec

RGB Code Hex Code Preview
rgb(113, 39, 236, 10%) #7127ec1a  
rgb(113, 39, 236, 20%) #7127ec33  
rgb(113, 39, 236, 40%) #7127ec4C  
rgb(113, 39, 236, 60%) #7127ec99  
rgb(113, 39, 236, 80%) #7127ecCC  
rgb(113, 39, 236, 100%) #7127ecFF  

Saturated and desaturated colors of #7127ec

HSL Code Preview
hsl(263, 10%, 54%)  
hsl(263, 20%, 54%)  
hsl(263, 40%, 54%)  
hsl(263, 60%, 54%)  
hsl(263, 80%, 54%)  
hsl(263, 100%, 54%)  

#7127ec Color Usage In CSS

 body {
    color: #7127ec;
    }
 p {
    color: rgb(113, 39, 236);
    }
 header {
    border-bottom:1px solid #7127ec;
    }
Recent Random Colors