Random Color Generator

#041122 Color

Color Codes
Hex Code #041122
RGB Code rgb(04, 17, 34)
HSL Code hsl(214, 79%, 7%)

#041122 Color Syntax

rgb()

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

 main {
    background-color: rgb(04, 17, 34);
   }

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(214, 79%, 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 #041122

RGB Code Hex Code Preview
rgb(04, 17, 34, 10%) #0411221a  
rgb(04, 17, 34, 20%) #04112233  
rgb(04, 17, 34, 40%) #0411224C  
rgb(04, 17, 34, 60%) #04112299  
rgb(04, 17, 34, 80%) #041122CC  
rgb(04, 17, 34, 100%) #041122FF  

Saturated and desaturated colors of #041122

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

#041122 Color Usage In CSS

 body {
    color: #041122;
    }
 p {
    color: rgb(04, 17, 34);
    }
 header {
    border-bottom:1px solid #041122;
    }
Recent Random Colors