Random Color Generator

#0c1dc0 Color

Color Codes
Hex Code #0c1dc0
RGB Code rgb(12, 29, 192)
HSL Code hsl(234, 88%, 40%)

#0c1dc0 Color Syntax

rgb()

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

 main {
    background-color: rgb(12, 29, 192);
   }

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(234, 88%, 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 #0c1dc0

RGB Code Hex Code Preview
rgb(12, 29, 192, 10%) #0c1dc01a  
rgb(12, 29, 192, 20%) #0c1dc033  
rgb(12, 29, 192, 40%) #0c1dc04C  
rgb(12, 29, 192, 60%) #0c1dc099  
rgb(12, 29, 192, 80%) #0c1dc0CC  
rgb(12, 29, 192, 100%) #0c1dc0FF  

Saturated and desaturated colors of #0c1dc0

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

#0c1dc0 Color Usage In CSS

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