Random Color Generator

#0c1e15 Color

Color Codes
Hex Code #0c1e15
RGB Code rgb(12, 30, 21)
HSL Code hsl(150, 43%, 8%)

#0c1e15 Color Syntax

rgb()

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

 main {
    background-color: rgb(12, 30, 21);
   }

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(150, 43%, 8%);
  }

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

RGB Code Hex Code Preview
rgb(12, 30, 21, 10%) #0c1e151a  
rgb(12, 30, 21, 20%) #0c1e1533  
rgb(12, 30, 21, 40%) #0c1e154C  
rgb(12, 30, 21, 60%) #0c1e1599  
rgb(12, 30, 21, 80%) #0c1e15CC  
rgb(12, 30, 21, 100%) #0c1e15FF  

Saturated and desaturated colors of #0c1e15

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

#0c1e15 Color Usage In CSS

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