Random Color Generator

#1a16fa Color

Color Codes
Hex Code #1a16fa
RGB Code rgb(26, 22, 250)
HSL Code hsl(241, 96%, 53%)

#1a16fa Color Syntax

rgb()

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

 main {
    background-color: rgb(26, 22, 250);
   }

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(241, 96%, 53%);
  }

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

RGB Code Hex Code Preview
rgb(26, 22, 250, 10%) #1a16fa1a  
rgb(26, 22, 250, 20%) #1a16fa33  
rgb(26, 22, 250, 40%) #1a16fa4C  
rgb(26, 22, 250, 60%) #1a16fa99  
rgb(26, 22, 250, 80%) #1a16faCC  
rgb(26, 22, 250, 100%) #1a16faFF  

Saturated and desaturated colors of #1a16fa

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

#1a16fa Color Usage In CSS

 body {
    color: #1a16fa;
    }
 p {
    color: rgb(26, 22, 250);
    }
 header {
    border-bottom:1px solid #1a16fa;
    }
Recent Random Colors