Random Color Generator

#2167ea Color

Color Codes
Hex Code #2167ea
RGB Code rgb(33, 103, 234)
HSL Code hsl(219, 83%, 52%)

#2167ea Color Syntax

rgb()

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

 main {
    background-color: rgb(33, 103, 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(219, 83%, 52%);
  }

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

RGB Code Hex Code Preview
rgb(33, 103, 234, 10%) #2167ea1a  
rgb(33, 103, 234, 20%) #2167ea33  
rgb(33, 103, 234, 40%) #2167ea4C  
rgb(33, 103, 234, 60%) #2167ea99  
rgb(33, 103, 234, 80%) #2167eaCC  
rgb(33, 103, 234, 100%) #2167eaFF  

Saturated and desaturated colors of #2167ea

HSL Code Preview
hsl(219, 10%, 52%)  
hsl(219, 20%, 52%)  
hsl(219, 40%, 52%)  
hsl(219, 60%, 52%)  
hsl(219, 80%, 52%)  
hsl(219, 100%, 52%)  

#2167ea Color Usage In CSS

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