Random Color Generator

#040925 Color

Color Codes
Hex Code #040925
RGB Code rgb(04, 09, 37)
HSL Code hsl(231, 80%, 8%)

#040925 Color Syntax

rgb()

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

 main {
    background-color: rgb(04, 09, 37);
   }

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, 80%, 8%);
  }

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

RGB Code Hex Code Preview
rgb(04, 09, 37, 10%) #0409251a  
rgb(04, 09, 37, 20%) #04092533  
rgb(04, 09, 37, 40%) #0409254C  
rgb(04, 09, 37, 60%) #04092599  
rgb(04, 09, 37, 80%) #040925CC  
rgb(04, 09, 37, 100%) #040925FF  

Saturated and desaturated colors of #040925

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

#040925 Color Usage In CSS

 body {
    color: #040925;
    }
 p {
    color: rgb(04, 09, 37);
    }
 header {
    border-bottom:1px solid #040925;
    }
Recent Random Colors