Random Color Generator

#131741 Color

Color Codes
Hex Code #131741
RGB Code rgb(19, 23, 65)
HSL Code hsl(235, 55%, 16%)

#131741 Color Syntax

rgb()

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

 main {
    background-color: rgb(19, 23, 65);
   }

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(235, 55%, 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 #131741

RGB Code Hex Code Preview
rgb(19, 23, 65, 10%) #1317411a  
rgb(19, 23, 65, 20%) #13174133  
rgb(19, 23, 65, 40%) #1317414C  
rgb(19, 23, 65, 60%) #13174199  
rgb(19, 23, 65, 80%) #131741CC  
rgb(19, 23, 65, 100%) #131741FF  

Saturated and desaturated colors of #131741

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

#131741 Color Usage In CSS

 body {
    color: #131741;
    }
 p {
    color: rgb(19, 23, 65);
    }
 header {
    border-bottom:1px solid #131741;
    }
Recent Random Colors