Random Color Generator

#7420db Color

Color Codes
Hex Code #7420db
RGB Code rgb(116, 32, 219)
HSL Code hsl(267, 75%, 49%)

#7420db Color Syntax

rgb()

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

 main {
    background-color: rgb(116, 32, 219);
   }

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(267, 75%, 49%);
  }

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 #7420db

RGB Code Hex Code Preview
rgb(116, 32, 219, 10%) #7420db1a  
rgb(116, 32, 219, 20%) #7420db33  
rgb(116, 32, 219, 40%) #7420db4C  
rgb(116, 32, 219, 60%) #7420db99  
rgb(116, 32, 219, 80%) #7420dbCC  
rgb(116, 32, 219, 100%) #7420dbFF  

Saturated and desaturated colors of #7420db

HSL Code Preview
hsl(267, 10%, 49%)  
hsl(267, 20%, 49%)  
hsl(267, 40%, 49%)  
hsl(267, 60%, 49%)  
hsl(267, 80%, 49%)  
hsl(267, 100%, 49%)  

#7420db Color Usage In CSS

 body {
    color: #7420db;
    }
 p {
    color: rgb(116, 32, 219);
    }
 header {
    border-bottom:1px solid #7420db;
    }
Recent Random Colors