Random Color Generator

#020da1 Color

Color Codes
Hex Code #020da1
RGB Code rgb(02, 13, 161)
HSL Code hsl(236, 98%, 32%)

#020da1 Color Syntax

rgb()

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

 main {
    background-color: rgb(02, 13, 161);
   }

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(236, 98%, 32%);
  }

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 #020da1

RGB Code Hex Code Preview
rgb(02, 13, 161, 10%) #020da11a  
rgb(02, 13, 161, 20%) #020da133  
rgb(02, 13, 161, 40%) #020da14C  
rgb(02, 13, 161, 60%) #020da199  
rgb(02, 13, 161, 80%) #020da1CC  
rgb(02, 13, 161, 100%) #020da1FF  

Saturated and desaturated colors of #020da1

HSL Code Preview
hsl(236, 10%, 32%)  
hsl(236, 20%, 32%)  
hsl(236, 40%, 32%)  
hsl(236, 60%, 32%)  
hsl(236, 80%, 32%)  
hsl(236, 100%, 32%)  

#020da1 Color Usage In CSS

 body {
    color: #020da1;
    }
 p {
    color: rgb(02, 13, 161);
    }
 header {
    border-bottom:1px solid #020da1;
    }
Recent Random Colors