Random Color Generator

#031c3e Color

Color Codes
Hex Code #031c3e
RGB Code rgb(03, 28, 62)
HSL Code hsl(215, 91%, 13%)

#031c3e Color Syntax

rgb()

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

 main {
    background-color: rgb(03, 28, 62);
   }

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(215, 91%, 13%);
  }

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 #031c3e

RGB Code Hex Code Preview
rgb(03, 28, 62, 10%) #031c3e1a  
rgb(03, 28, 62, 20%) #031c3e33  
rgb(03, 28, 62, 40%) #031c3e4C  
rgb(03, 28, 62, 60%) #031c3e99  
rgb(03, 28, 62, 80%) #031c3eCC  
rgb(03, 28, 62, 100%) #031c3eFF  

Saturated and desaturated colors of #031c3e

HSL Code Preview
hsl(215, 10%, 13%)  
hsl(215, 20%, 13%)  
hsl(215, 40%, 13%)  
hsl(215, 60%, 13%)  
hsl(215, 80%, 13%)  
hsl(215, 100%, 13%)  

#031c3e Color Usage In CSS

 body {
    color: #031c3e;
    }
 p {
    color: rgb(03, 28, 62);
    }
 header {
    border-bottom:1px solid #031c3e;
    }
Recent Random Colors