Random Color Generator

#4962de Color

Color Codes
Hex Code #4962de
RGB Code rgb(73, 98, 222)
HSL Code hsl(230, 69%, 58%)

#4962de Color Syntax

rgb()

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

 main {
    background-color: rgb(73, 98, 222);
   }

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(230, 69%, 58%);
  }

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 #4962de

RGB Code Hex Code Preview
rgb(73, 98, 222, 10%) #4962de1a  
rgb(73, 98, 222, 20%) #4962de33  
rgb(73, 98, 222, 40%) #4962de4C  
rgb(73, 98, 222, 60%) #4962de99  
rgb(73, 98, 222, 80%) #4962deCC  
rgb(73, 98, 222, 100%) #4962deFF  

Saturated and desaturated colors of #4962de

HSL Code Preview
hsl(230, 10%, 58%)  
hsl(230, 20%, 58%)  
hsl(230, 40%, 58%)  
hsl(230, 60%, 58%)  
hsl(230, 80%, 58%)  
hsl(230, 100%, 58%)  

#4962de Color Usage In CSS

 body {
    color: #4962de;
    }
 p {
    color: rgb(73, 98, 222);
    }
 header {
    border-bottom:1px solid #4962de;
    }
Recent Random Colors