Random Color Generator

#140311 Color

Color Codes
Hex Code #140311
RGB Code rgb(20, 03, 17)
HSL Code hsl(311, 74%, 5%)

#140311 Color Syntax

rgb()

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

 main {
    background-color: rgb(20, 03, 17);
   }

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(311, 74%, 5%);
  }

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

RGB Code Hex Code Preview
rgb(20, 03, 17, 10%) #1403111a  
rgb(20, 03, 17, 20%) #14031133  
rgb(20, 03, 17, 40%) #1403114C  
rgb(20, 03, 17, 60%) #14031199  
rgb(20, 03, 17, 80%) #140311CC  
rgb(20, 03, 17, 100%) #140311FF  

Saturated and desaturated colors of #140311

HSL Code Preview
hsl(311, 10%, 5%)  
hsl(311, 20%, 5%)  
hsl(311, 40%, 5%)  
hsl(311, 60%, 5%)  
hsl(311, 80%, 5%)  
hsl(311, 100%, 5%)  

#140311 Color Usage In CSS

 body {
    color: #140311;
    }
 p {
    color: rgb(20, 03, 17);
    }
 header {
    border-bottom:1px solid #140311;
    }
Recent Random Colors