Random Color Generator

#1e08af Color

Color Codes
Hex Code #1e08af
RGB Code rgb(30, 08, 175)
HSL Code hsl(248, 91%, 36%)

#1e08af Color Syntax

rgb()

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

 main {
    background-color: rgb(30, 08, 175);
   }

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(248, 91%, 36%);
  }

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 #1e08af

RGB Code Hex Code Preview
rgb(30, 08, 175, 10%) #1e08af1a  
rgb(30, 08, 175, 20%) #1e08af33  
rgb(30, 08, 175, 40%) #1e08af4C  
rgb(30, 08, 175, 60%) #1e08af99  
rgb(30, 08, 175, 80%) #1e08afCC  
rgb(30, 08, 175, 100%) #1e08afFF  

Saturated and desaturated colors of #1e08af

HSL Code Preview
hsl(248, 10%, 36%)  
hsl(248, 20%, 36%)  
hsl(248, 40%, 36%)  
hsl(248, 60%, 36%)  
hsl(248, 80%, 36%)  
hsl(248, 100%, 36%)  

#1e08af Color Usage In CSS

 body {
    color: #1e08af;
    }
 p {
    color: rgb(30, 08, 175);
    }
 header {
    border-bottom:1px solid #1e08af;
    }
Recent Random Colors