Random Color Generator

#1116ba Color

Color Codes
Hex Code #1116ba
RGB Code rgb(17, 22, 186)
HSL Code hsl(238, 83%, 40%)

#1116ba Color Syntax

rgb()

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

 main {
    background-color: rgb(17, 22, 186);
   }

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(238, 83%, 40%);
  }

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 #1116ba

RGB Code Hex Code Preview
rgb(17, 22, 186, 10%) #1116ba1a  
rgb(17, 22, 186, 20%) #1116ba33  
rgb(17, 22, 186, 40%) #1116ba4C  
rgb(17, 22, 186, 60%) #1116ba99  
rgb(17, 22, 186, 80%) #1116baCC  
rgb(17, 22, 186, 100%) #1116baFF  

Saturated and desaturated colors of #1116ba

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

#1116ba Color Usage In CSS

 body {
    color: #1116ba;
    }
 p {
    color: rgb(17, 22, 186);
    }
 header {
    border-bottom:1px solid #1116ba;
    }
Recent Random Colors