Random Color Generator

#1603f2 Color

Color Codes
Hex Code #1603f2
RGB Code rgb(22, 03, 242)
HSL Code hsl(245, 98%, 48%)

#1603f2 Color Syntax

rgb()

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

 main {
    background-color: rgb(22, 03, 242);
   }

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(245, 98%, 48%);
  }

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 #1603f2

RGB Code Hex Code Preview
rgb(22, 03, 242, 10%) #1603f21a  
rgb(22, 03, 242, 20%) #1603f233  
rgb(22, 03, 242, 40%) #1603f24C  
rgb(22, 03, 242, 60%) #1603f299  
rgb(22, 03, 242, 80%) #1603f2CC  
rgb(22, 03, 242, 100%) #1603f2FF  

Saturated and desaturated colors of #1603f2

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

#1603f2 Color Usage In CSS

 body {
    color: #1603f2;
    }
 p {
    color: rgb(22, 03, 242);
    }
 header {
    border-bottom:1px solid #1603f2;
    }
Recent Random Colors