Random Color Generator

#1656ea Color

Color Codes
Hex Code #1656ea
RGB Code rgb(22, 86, 234)
HSL Code hsl(222, 83%, 50%)

#1656ea Color Syntax

rgb()

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

 main {
    background-color: rgb(22, 86, 234);
   }

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(222, 83%, 50%);
  }

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 #1656ea

RGB Code Hex Code Preview
rgb(22, 86, 234, 10%) #1656ea1a  
rgb(22, 86, 234, 20%) #1656ea33  
rgb(22, 86, 234, 40%) #1656ea4C  
rgb(22, 86, 234, 60%) #1656ea99  
rgb(22, 86, 234, 80%) #1656eaCC  
rgb(22, 86, 234, 100%) #1656eaFF  

Saturated and desaturated colors of #1656ea

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

#1656ea Color Usage In CSS

 body {
    color: #1656ea;
    }
 p {
    color: rgb(22, 86, 234);
    }
 header {
    border-bottom:1px solid #1656ea;
    }
Recent Random Colors