Random Color Generator

#1b0a9e Color

Color Codes
Hex Code #1b0a9e
RGB Code rgb(27, 10, 158)
HSL Code hsl(247, 88%, 33%)

#1b0a9e Color Syntax

rgb()

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

 main {
    background-color: rgb(27, 10, 158);
   }

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(247, 88%, 33%);
  }

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

RGB Code Hex Code Preview
rgb(27, 10, 158, 10%) #1b0a9e1a  
rgb(27, 10, 158, 20%) #1b0a9e33  
rgb(27, 10, 158, 40%) #1b0a9e4C  
rgb(27, 10, 158, 60%) #1b0a9e99  
rgb(27, 10, 158, 80%) #1b0a9eCC  
rgb(27, 10, 158, 100%) #1b0a9eFF  

Saturated and desaturated colors of #1b0a9e

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

#1b0a9e Color Usage In CSS

 body {
    color: #1b0a9e;
    }
 p {
    color: rgb(27, 10, 158);
    }
 header {
    border-bottom:1px solid #1b0a9e;
    }
Recent Random Colors