Random Color Generator

#04198a Color

Color Codes
Hex Code #04198a
RGB Code rgb(04, 25, 138)
HSL Code hsl(231, 94%, 28%)

#04198a Color Syntax

rgb()

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

 main {
    background-color: rgb(04, 25, 138);
   }

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(231, 94%, 28%);
  }

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 #04198a

RGB Code Hex Code Preview
rgb(04, 25, 138, 10%) #04198a1a  
rgb(04, 25, 138, 20%) #04198a33  
rgb(04, 25, 138, 40%) #04198a4C  
rgb(04, 25, 138, 60%) #04198a99  
rgb(04, 25, 138, 80%) #04198aCC  
rgb(04, 25, 138, 100%) #04198aFF  

Saturated and desaturated colors of #04198a

HSL Code Preview
hsl(231, 10%, 28%)  
hsl(231, 20%, 28%)  
hsl(231, 40%, 28%)  
hsl(231, 60%, 28%)  
hsl(231, 80%, 28%)  
hsl(231, 100%, 28%)  

#04198a Color Usage In CSS

 body {
    color: #04198a;
    }
 p {
    color: rgb(04, 25, 138);
    }
 header {
    border-bottom:1px solid #04198a;
    }
Recent Random Colors