Random Color Generator

#0dca1f Color

Color Codes
Hex Code #0dca1f
RGB Code rgb(13, 202, 31)
HSL Code hsl(126, 88%, 42%)

#0dca1f Color Syntax

rgb()

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

 main {
    background-color: rgb(13, 202, 31);
   }

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(126, 88%, 42%);
  }

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

RGB Code Hex Code Preview
rgb(13, 202, 31, 10%) #0dca1f1a  
rgb(13, 202, 31, 20%) #0dca1f33  
rgb(13, 202, 31, 40%) #0dca1f4C  
rgb(13, 202, 31, 60%) #0dca1f99  
rgb(13, 202, 31, 80%) #0dca1fCC  
rgb(13, 202, 31, 100%) #0dca1fFF  

Saturated and desaturated colors of #0dca1f

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

#0dca1f Color Usage In CSS

 body {
    color: #0dca1f;
    }
 p {
    color: rgb(13, 202, 31);
    }
 header {
    border-bottom:1px solid #0dca1f;
    }
Recent Random Colors