Random Color Generator

#04164c Color

Color Codes
Hex Code #04164c
RGB Code rgb(04, 22, 76)
HSL Code hsl(225, 90%, 16%)

#04164c Color Syntax

rgb()

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

 main {
    background-color: rgb(04, 22, 76);
   }

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(225, 90%, 16%);
  }

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 #04164c

RGB Code Hex Code Preview
rgb(04, 22, 76, 10%) #04164c1a  
rgb(04, 22, 76, 20%) #04164c33  
rgb(04, 22, 76, 40%) #04164c4C  
rgb(04, 22, 76, 60%) #04164c99  
rgb(04, 22, 76, 80%) #04164cCC  
rgb(04, 22, 76, 100%) #04164cFF  

Saturated and desaturated colors of #04164c

HSL Code Preview
hsl(225, 10%, 16%)  
hsl(225, 20%, 16%)  
hsl(225, 40%, 16%)  
hsl(225, 60%, 16%)  
hsl(225, 80%, 16%)  
hsl(225, 100%, 16%)  

#04164c Color Usage In CSS

 body {
    color: #04164c;
    }
 p {
    color: rgb(04, 22, 76);
    }
 header {
    border-bottom:1px solid #04164c;
    }
Recent Random Colors