Random Color Generator

#042033 Color

Color Codes
Hex Code #042033
RGB Code rgb(04, 32, 51)
HSL Code hsl(204, 85%, 11%)

#042033 Color Syntax

rgb()

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

 main {
    background-color: rgb(04, 32, 51);
   }

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(204, 85%, 11%);
  }

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 #042033

RGB Code Hex Code Preview
rgb(04, 32, 51, 10%) #0420331a  
rgb(04, 32, 51, 20%) #04203333  
rgb(04, 32, 51, 40%) #0420334C  
rgb(04, 32, 51, 60%) #04203399  
rgb(04, 32, 51, 80%) #042033CC  
rgb(04, 32, 51, 100%) #042033FF  

Saturated and desaturated colors of #042033

HSL Code Preview
hsl(204, 10%, 11%)  
hsl(204, 20%, 11%)  
hsl(204, 40%, 11%)  
hsl(204, 60%, 11%)  
hsl(204, 80%, 11%)  
hsl(204, 100%, 11%)  

#042033 Color Usage In CSS

 body {
    color: #042033;
    }
 p {
    color: rgb(04, 32, 51);
    }
 header {
    border-bottom:1px solid #042033;
    }
Recent Random Colors