Random Color Generator

#0c9565 Color

Color Codes
Hex Code #0c9565
RGB Code rgb(12, 149, 101)
HSL Code hsl(159, 85%, 32%)

#0c9565 Color Syntax

rgb()

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

 main {
    background-color: rgb(12, 149, 101);
   }

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(159, 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 #0c9565

RGB Code Hex Code Preview
rgb(12, 149, 101, 10%) #0c95651a  
rgb(12, 149, 101, 20%) #0c956533  
rgb(12, 149, 101, 40%) #0c95654C  
rgb(12, 149, 101, 60%) #0c956599  
rgb(12, 149, 101, 80%) #0c9565CC  
rgb(12, 149, 101, 100%) #0c9565FF  

Saturated and desaturated colors of #0c9565

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

#0c9565 Color Usage In CSS

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