Random Color Generator

#2b78a5 Color

Color Codes
Hex Code #2b78a5
RGB Code rgb(43, 120, 165)
HSL Code hsl(202, 59%, 41%)

#2b78a5 Color Syntax

rgb()

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

 main {
    background-color: rgb(43, 120, 165);
   }

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(202, 59%, 41%);
  }

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 #2b78a5

RGB Code Hex Code Preview
rgb(43, 120, 165, 10%) #2b78a51a  
rgb(43, 120, 165, 20%) #2b78a533  
rgb(43, 120, 165, 40%) #2b78a54C  
rgb(43, 120, 165, 60%) #2b78a599  
rgb(43, 120, 165, 80%) #2b78a5CC  
rgb(43, 120, 165, 100%) #2b78a5FF  

Saturated and desaturated colors of #2b78a5

HSL Code Preview
hsl(202, 10%, 41%)  
hsl(202, 20%, 41%)  
hsl(202, 40%, 41%)  
hsl(202, 60%, 41%)  
hsl(202, 80%, 41%)  
hsl(202, 100%, 41%)  

#2b78a5 Color Usage In CSS

 body {
    color: #2b78a5;
    }
 p {
    color: rgb(43, 120, 165);
    }
 header {
    border-bottom:1px solid #2b78a5;
    }
Recent Random Colors