Random Color Generator

#0b1c34 Color

Color Codes
Hex Code #0b1c34
RGB Code rgb(11, 28, 52)
HSL Code hsl(215, 65%, 12%)

#0b1c34 Color Syntax

rgb()

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

 main {
    background-color: rgb(11, 28, 52);
   }

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(215, 65%, 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 #0b1c34

RGB Code Hex Code Preview
rgb(11, 28, 52, 10%) #0b1c341a  
rgb(11, 28, 52, 20%) #0b1c3433  
rgb(11, 28, 52, 40%) #0b1c344C  
rgb(11, 28, 52, 60%) #0b1c3499  
rgb(11, 28, 52, 80%) #0b1c34CC  
rgb(11, 28, 52, 100%) #0b1c34FF  

Saturated and desaturated colors of #0b1c34

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

#0b1c34 Color Usage In CSS

 body {
    color: #0b1c34;
    }
 p {
    color: rgb(11, 28, 52);
    }
 header {
    border-bottom:1px solid #0b1c34;
    }
Recent Random Colors