Random Color Generator

#0e1e2e Color

Color Codes
Hex Code #0e1e2e
RGB Code rgb(14, 30, 46)
HSL Code hsl(210, 53%, 12%)

#0e1e2e Color Syntax

rgb()

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

 main {
    background-color: rgb(14, 30, 46);
   }

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(210, 53%, 12%);
  }

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 #0e1e2e

RGB Code Hex Code Preview
rgb(14, 30, 46, 10%) #0e1e2e1a  
rgb(14, 30, 46, 20%) #0e1e2e33  
rgb(14, 30, 46, 40%) #0e1e2e4C  
rgb(14, 30, 46, 60%) #0e1e2e99  
rgb(14, 30, 46, 80%) #0e1e2eCC  
rgb(14, 30, 46, 100%) #0e1e2eFF  

Saturated and desaturated colors of #0e1e2e

HSL Code Preview
hsl(210, 10%, 12%)  
hsl(210, 20%, 12%)  
hsl(210, 40%, 12%)  
hsl(210, 60%, 12%)  
hsl(210, 80%, 12%)  
hsl(210, 100%, 12%)  

#0e1e2e Color Usage In CSS

 body {
    color: #0e1e2e;
    }
 p {
    color: rgb(14, 30, 46);
    }
 header {
    border-bottom:1px solid #0e1e2e;
    }
Recent Random Colors