Random Color Generator

#2137ba Color

Color Codes
Hex Code #2137ba
RGB Code rgb(33, 55, 186)
HSL Code hsl(231, 70%, 43%)

#2137ba Color Syntax

rgb()

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

 main {
    background-color: rgb(33, 55, 186);
   }

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(231, 70%, 43%);
  }

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 #2137ba

RGB Code Hex Code Preview
rgb(33, 55, 186, 10%) #2137ba1a  
rgb(33, 55, 186, 20%) #2137ba33  
rgb(33, 55, 186, 40%) #2137ba4C  
rgb(33, 55, 186, 60%) #2137ba99  
rgb(33, 55, 186, 80%) #2137baCC  
rgb(33, 55, 186, 100%) #2137baFF  

Saturated and desaturated colors of #2137ba

HSL Code Preview
hsl(231, 10%, 43%)  
hsl(231, 20%, 43%)  
hsl(231, 40%, 43%)  
hsl(231, 60%, 43%)  
hsl(231, 80%, 43%)  
hsl(231, 100%, 43%)  

#2137ba Color Usage In CSS

 body {
    color: #2137ba;
    }
 p {
    color: rgb(33, 55, 186);
    }
 header {
    border-bottom:1px solid #2137ba;
    }
Recent Random Colors