Random Color Generator

#020b01 Color

Color Codes
Hex Code #020b01
RGB Code rgb(02, 11, 01)
HSL Code hsl(114, 83%, 2%)

#020b01 Color Syntax

rgb()

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

 main {
    background-color: rgb(02, 11, 01);
   }

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(114, 83%, 2%);
  }

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

RGB Code Hex Code Preview
rgb(02, 11, 01, 10%) #020b011a  
rgb(02, 11, 01, 20%) #020b0133  
rgb(02, 11, 01, 40%) #020b014C  
rgb(02, 11, 01, 60%) #020b0199  
rgb(02, 11, 01, 80%) #020b01CC  
rgb(02, 11, 01, 100%) #020b01FF  

Saturated and desaturated colors of #020b01

HSL Code Preview
hsl(114, 10%, 2%)  
hsl(114, 20%, 2%)  
hsl(114, 40%, 2%)  
hsl(114, 60%, 2%)  
hsl(114, 80%, 2%)  
hsl(114, 100%, 2%)  

#020b01 Color Usage In CSS

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