Random Color Generator

#326aef Color

Color Codes
Hex Code #326aef
RGB Code rgb(50, 106, 239)
HSL Code hsl(222, 86%, 57%)

#326aef Color Syntax

rgb()

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

 main {
    background-color: rgb(50, 106, 239);
   }

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, 86%, 57%);
  }

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 #326aef

RGB Code Hex Code Preview
rgb(50, 106, 239, 10%) #326aef1a  
rgb(50, 106, 239, 20%) #326aef33  
rgb(50, 106, 239, 40%) #326aef4C  
rgb(50, 106, 239, 60%) #326aef99  
rgb(50, 106, 239, 80%) #326aefCC  
rgb(50, 106, 239, 100%) #326aefFF  

Saturated and desaturated colors of #326aef

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

#326aef Color Usage In CSS

 body {
    color: #326aef;
    }
 p {
    color: rgb(50, 106, 239);
    }
 header {
    border-bottom:1px solid #326aef;
    }
Recent Random Colors