Random Color Generator

#2c7aa9 Color

Color Codes
Hex Code #2c7aa9
RGB Code rgb(44, 122, 169)
HSL Code hsl(203, 59%, 42%)

#2c7aa9 Color Syntax

rgb()

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

 main {
    background-color: rgb(44, 122, 169);
   }

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(203, 59%, 42%);
  }

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

RGB Code Hex Code Preview
rgb(44, 122, 169, 10%) #2c7aa91a  
rgb(44, 122, 169, 20%) #2c7aa933  
rgb(44, 122, 169, 40%) #2c7aa94C  
rgb(44, 122, 169, 60%) #2c7aa999  
rgb(44, 122, 169, 80%) #2c7aa9CC  
rgb(44, 122, 169, 100%) #2c7aa9FF  

Saturated and desaturated colors of #2c7aa9

HSL Code Preview
hsl(203, 10%, 42%)  
hsl(203, 20%, 42%)  
hsl(203, 40%, 42%)  
hsl(203, 60%, 42%)  
hsl(203, 80%, 42%)  
hsl(203, 100%, 42%)  

#2c7aa9 Color Usage In CSS

 body {
    color: #2c7aa9;
    }
 p {
    color: rgb(44, 122, 169);
    }
 header {
    border-bottom:1px solid #2c7aa9;
    }
Recent Random Colors