Random Color Generator

#0ec074 Color

Color Codes
Hex Code #0ec074
RGB Code rgb(14, 192, 116)
HSL Code hsl(154, 86%, 40%)

#0ec074 Color Syntax

rgb()

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

 main {
    background-color: rgb(14, 192, 116);
   }

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(154, 86%, 40%);
  }

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

RGB Code Hex Code Preview
rgb(14, 192, 116, 10%) #0ec0741a  
rgb(14, 192, 116, 20%) #0ec07433  
rgb(14, 192, 116, 40%) #0ec0744C  
rgb(14, 192, 116, 60%) #0ec07499  
rgb(14, 192, 116, 80%) #0ec074CC  
rgb(14, 192, 116, 100%) #0ec074FF  

Saturated and desaturated colors of #0ec074

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

#0ec074 Color Usage In CSS

 body {
    color: #0ec074;
    }
 p {
    color: rgb(14, 192, 116);
    }
 header {
    border-bottom:1px solid #0ec074;
    }
Recent Random Colors