Random Color Generator

#221d01 Color

Color Codes
Hex Code #221d01
RGB Code rgb(34, 29, 01)
HSL Code hsl(51, 94%, 7%)

#221d01 Color Syntax

rgb()

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

 main {
    background-color: rgb(34, 29, 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(51, 94%, 7%);
  }

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 #221d01

RGB Code Hex Code Preview
rgb(34, 29, 01, 10%) #221d011a  
rgb(34, 29, 01, 20%) #221d0133  
rgb(34, 29, 01, 40%) #221d014C  
rgb(34, 29, 01, 60%) #221d0199  
rgb(34, 29, 01, 80%) #221d01CC  
rgb(34, 29, 01, 100%) #221d01FF  

Saturated and desaturated colors of #221d01

HSL Code Preview
hsl(51, 10%, 7%)  
hsl(51, 20%, 7%)  
hsl(51, 40%, 7%)  
hsl(51, 60%, 7%)  
hsl(51, 80%, 7%)  
hsl(51, 100%, 7%)  

#221d01 Color Usage In CSS

 body {
    color: #221d01;
    }
 p {
    color: rgb(34, 29, 01);
    }
 header {
    border-bottom:1px solid #221d01;
    }
Recent Random Colors