Random Color Generator

#4079ea Color

Color Codes
Hex Code #4079ea
RGB Code rgb(64, 121, 234)
HSL Code hsl(220, 80%, 58%)

#4079ea Color Syntax

rgb()

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

 main {
    background-color: rgb(64, 121, 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(220, 80%, 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 #4079ea

RGB Code Hex Code Preview
rgb(64, 121, 234, 10%) #4079ea1a  
rgb(64, 121, 234, 20%) #4079ea33  
rgb(64, 121, 234, 40%) #4079ea4C  
rgb(64, 121, 234, 60%) #4079ea99  
rgb(64, 121, 234, 80%) #4079eaCC  
rgb(64, 121, 234, 100%) #4079eaFF  

Saturated and desaturated colors of #4079ea

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

#4079ea Color Usage In CSS

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