Random Color Generator

#7470e0 Color

Color Codes
Hex Code #7470e0
RGB Code rgb(116, 112, 224)
HSL Code hsl(242, 64%, 66%)

#7470e0 Color Syntax

rgb()

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

 main {
    background-color: rgb(116, 112, 224);
   }

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(242, 64%, 66%);
  }

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 #7470e0

RGB Code Hex Code Preview
rgb(116, 112, 224, 10%) #7470e01a  
rgb(116, 112, 224, 20%) #7470e033  
rgb(116, 112, 224, 40%) #7470e04C  
rgb(116, 112, 224, 60%) #7470e099  
rgb(116, 112, 224, 80%) #7470e0CC  
rgb(116, 112, 224, 100%) #7470e0FF  

Saturated and desaturated colors of #7470e0

HSL Code Preview
hsl(242, 10%, 66%)  
hsl(242, 20%, 66%)  
hsl(242, 40%, 66%)  
hsl(242, 60%, 66%)  
hsl(242, 80%, 66%)  
hsl(242, 100%, 66%)  

#7470e0 Color Usage In CSS

 body {
    color: #7470e0;
    }
 p {
    color: rgb(116, 112, 224);
    }
 header {
    border-bottom:1px solid #7470e0;
    }
Recent Random Colors