Random Color Generator

#2d9cc2 Color

Color Codes
Hex Code #2d9cc2
RGB Code rgb(45, 156, 194)
HSL Code hsl(195, 62%, 47%)

#2d9cc2 Color Syntax

rgb()

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

 main {
    background-color: rgb(45, 156, 194);
   }

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(195, 62%, 47%);
  }

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

RGB Code Hex Code Preview
rgb(45, 156, 194, 10%) #2d9cc21a  
rgb(45, 156, 194, 20%) #2d9cc233  
rgb(45, 156, 194, 40%) #2d9cc24C  
rgb(45, 156, 194, 60%) #2d9cc299  
rgb(45, 156, 194, 80%) #2d9cc2CC  
rgb(45, 156, 194, 100%) #2d9cc2FF  

Saturated and desaturated colors of #2d9cc2

HSL Code Preview
hsl(195, 10%, 47%)  
hsl(195, 20%, 47%)  
hsl(195, 40%, 47%)  
hsl(195, 60%, 47%)  
hsl(195, 80%, 47%)  
hsl(195, 100%, 47%)  

#2d9cc2 Color Usage In CSS

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