Random Color Generator

#052079 Color

Color Codes
Hex Code #052079
RGB Code rgb(05, 32, 121)
HSL Code hsl(226, 92%, 25%)

#052079 Color Syntax

rgb()

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

 main {
    background-color: rgb(05, 32, 121);
   }

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(226, 92%, 25%);
  }

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 #052079

RGB Code Hex Code Preview
rgb(05, 32, 121, 10%) #0520791a  
rgb(05, 32, 121, 20%) #05207933  
rgb(05, 32, 121, 40%) #0520794C  
rgb(05, 32, 121, 60%) #05207999  
rgb(05, 32, 121, 80%) #052079CC  
rgb(05, 32, 121, 100%) #052079FF  

Saturated and desaturated colors of #052079

HSL Code Preview
hsl(226, 10%, 25%)  
hsl(226, 20%, 25%)  
hsl(226, 40%, 25%)  
hsl(226, 60%, 25%)  
hsl(226, 80%, 25%)  
hsl(226, 100%, 25%)  

#052079 Color Usage In CSS

 body {
    color: #052079;
    }
 p {
    color: rgb(05, 32, 121);
    }
 header {
    border-bottom:1px solid #052079;
    }
Recent Random Colors