Random Color Generator

#0cf550 Color

Color Codes
Hex Code #0cf550
RGB Code rgb(12, 245, 80)
HSL Code hsl(138, 92%, 50%)

#0cf550 Color Syntax

rgb()

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

 main {
    background-color: rgb(12, 245, 80);
   }

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(138, 92%, 50%);
  }

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

RGB Code Hex Code Preview
rgb(12, 245, 80, 10%) #0cf5501a  
rgb(12, 245, 80, 20%) #0cf55033  
rgb(12, 245, 80, 40%) #0cf5504C  
rgb(12, 245, 80, 60%) #0cf55099  
rgb(12, 245, 80, 80%) #0cf550CC  
rgb(12, 245, 80, 100%) #0cf550FF  

Saturated and desaturated colors of #0cf550

HSL Code Preview
hsl(138, 10%, 50%)  
hsl(138, 20%, 50%)  
hsl(138, 40%, 50%)  
hsl(138, 60%, 50%)  
hsl(138, 80%, 50%)  
hsl(138, 100%, 50%)  

#0cf550 Color Usage In CSS

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