Random Color Generator

#0e0b62 Color

Color Codes
Hex Code #0e0b62
RGB Code rgb(14, 11, 98)
HSL Code hsl(242, 80%, 21%)

#0e0b62 Color Syntax

rgb()

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

 main {
    background-color: rgb(14, 11, 98);
   }

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(242, 80%, 21%);
  }

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

RGB Code Hex Code Preview
rgb(14, 11, 98, 10%) #0e0b621a  
rgb(14, 11, 98, 20%) #0e0b6233  
rgb(14, 11, 98, 40%) #0e0b624C  
rgb(14, 11, 98, 60%) #0e0b6299  
rgb(14, 11, 98, 80%) #0e0b62CC  
rgb(14, 11, 98, 100%) #0e0b62FF  

Saturated and desaturated colors of #0e0b62

HSL Code Preview
hsl(242, 10%, 21%)  
hsl(242, 20%, 21%)  
hsl(242, 40%, 21%)  
hsl(242, 60%, 21%)  
hsl(242, 80%, 21%)  
hsl(242, 100%, 21%)  

#0e0b62 Color Usage In CSS

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