Random Color Generator

#0c7196 Color

Color Codes
Hex Code #0c7196
RGB Code rgb(12, 113, 150)
HSL Code hsl(196, 85%, 32%)

#0c7196 Color Syntax

rgb()

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

 main {
    background-color: rgb(12, 113, 150);
   }

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(196, 85%, 32%);
  }

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 #0c7196

RGB Code Hex Code Preview
rgb(12, 113, 150, 10%) #0c71961a  
rgb(12, 113, 150, 20%) #0c719633  
rgb(12, 113, 150, 40%) #0c71964C  
rgb(12, 113, 150, 60%) #0c719699  
rgb(12, 113, 150, 80%) #0c7196CC  
rgb(12, 113, 150, 100%) #0c7196FF  

Saturated and desaturated colors of #0c7196

HSL Code Preview
hsl(196, 10%, 32%)  
hsl(196, 20%, 32%)  
hsl(196, 40%, 32%)  
hsl(196, 60%, 32%)  
hsl(196, 80%, 32%)  
hsl(196, 100%, 32%)  

#0c7196 Color Usage In CSS

 body {
    color: #0c7196;
    }
 p {
    color: rgb(12, 113, 150);
    }
 header {
    border-bottom:1px solid #0c7196;
    }
Recent Random Colors