Random Color Generator

#2d6ada Color

Color Codes
Hex Code #2d6ada
RGB Code rgb(45, 106, 218)
HSL Code hsl(219, 70%, 52%)

#2d6ada Color Syntax

rgb()

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

 main {
    background-color: rgb(45, 106, 218);
   }

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, 70%, 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 #2d6ada

RGB Code Hex Code Preview
rgb(45, 106, 218, 10%) #2d6ada1a  
rgb(45, 106, 218, 20%) #2d6ada33  
rgb(45, 106, 218, 40%) #2d6ada4C  
rgb(45, 106, 218, 60%) #2d6ada99  
rgb(45, 106, 218, 80%) #2d6adaCC  
rgb(45, 106, 218, 100%) #2d6adaFF  

Saturated and desaturated colors of #2d6ada

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%)  

#2d6ada Color Usage In CSS

 body {
    color: #2d6ada;
    }
 p {
    color: rgb(45, 106, 218);
    }
 header {
    border-bottom:1px solid #2d6ada;
    }
Recent Random Colors