Random Color Generator

#140d1e Color

Color Codes
Hex Code #140d1e
RGB Code rgb(20, 13, 30)
HSL Code hsl(265, 40%, 8%)

#140d1e Color Syntax

rgb()

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

 main {
    background-color: rgb(20, 13, 30);
   }

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(265, 40%, 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 #140d1e

RGB Code Hex Code Preview
rgb(20, 13, 30, 10%) #140d1e1a  
rgb(20, 13, 30, 20%) #140d1e33  
rgb(20, 13, 30, 40%) #140d1e4C  
rgb(20, 13, 30, 60%) #140d1e99  
rgb(20, 13, 30, 80%) #140d1eCC  
rgb(20, 13, 30, 100%) #140d1eFF  

Saturated and desaturated colors of #140d1e

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

#140d1e Color Usage In CSS

 body {
    color: #140d1e;
    }
 p {
    color: rgb(20, 13, 30);
    }
 header {
    border-bottom:1px solid #140d1e;
    }
Recent Random Colors