Random Color Generator

#4626ea Color

Color Codes
Hex Code #4626ea
RGB Code rgb(70, 38, 234)
HSL Code hsl(250, 82%, 53%)

#4626ea Color Syntax

rgb()

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

 main {
    background-color: rgb(70, 38, 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(250, 82%, 53%);
  }

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 #4626ea

RGB Code Hex Code Preview
rgb(70, 38, 234, 10%) #4626ea1a  
rgb(70, 38, 234, 20%) #4626ea33  
rgb(70, 38, 234, 40%) #4626ea4C  
rgb(70, 38, 234, 60%) #4626ea99  
rgb(70, 38, 234, 80%) #4626eaCC  
rgb(70, 38, 234, 100%) #4626eaFF  

Saturated and desaturated colors of #4626ea

HSL Code Preview
hsl(250, 10%, 53%)  
hsl(250, 20%, 53%)  
hsl(250, 40%, 53%)  
hsl(250, 60%, 53%)  
hsl(250, 80%, 53%)  
hsl(250, 100%, 53%)  

#4626ea Color Usage In CSS

 body {
    color: #4626ea;
    }
 p {
    color: rgb(70, 38, 234);
    }
 header {
    border-bottom:1px solid #4626ea;
    }
Recent Random Colors