Random Color Generator

#020f61 Color

Color Codes
Hex Code #020f61
RGB Code rgb(02, 15, 97)
HSL Code hsl(232, 96%, 19%)

#020f61 Color Syntax

rgb()

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

 main {
    background-color: rgb(02, 15, 97);
   }

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(232, 96%, 19%);
  }

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

RGB Code Hex Code Preview
rgb(02, 15, 97, 10%) #020f611a  
rgb(02, 15, 97, 20%) #020f6133  
rgb(02, 15, 97, 40%) #020f614C  
rgb(02, 15, 97, 60%) #020f6199  
rgb(02, 15, 97, 80%) #020f61CC  
rgb(02, 15, 97, 100%) #020f61FF  

Saturated and desaturated colors of #020f61

HSL Code Preview
hsl(232, 10%, 19%)  
hsl(232, 20%, 19%)  
hsl(232, 40%, 19%)  
hsl(232, 60%, 19%)  
hsl(232, 80%, 19%)  
hsl(232, 100%, 19%)  

#020f61 Color Usage In CSS

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