Random Color Generator

#01223c Color

Color Codes
Hex Code #01223c
RGB Code rgb(01, 34, 60)
HSL Code hsl(206, 97%, 12%)

#01223c Color Syntax

rgb()

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

 main {
    background-color: rgb(01, 34, 60);
   }

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(206, 97%, 12%);
  }

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 #01223c

RGB Code Hex Code Preview
rgb(01, 34, 60, 10%) #01223c1a  
rgb(01, 34, 60, 20%) #01223c33  
rgb(01, 34, 60, 40%) #01223c4C  
rgb(01, 34, 60, 60%) #01223c99  
rgb(01, 34, 60, 80%) #01223cCC  
rgb(01, 34, 60, 100%) #01223cFF  

Saturated and desaturated colors of #01223c

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

#01223c Color Usage In CSS

 body {
    color: #01223c;
    }
 p {
    color: rgb(01, 34, 60);
    }
 header {
    border-bottom:1px solid #01223c;
    }
Recent Random Colors