Random Color Generator

#0f132a Color

Color Codes
Hex Code #0f132a
RGB Code rgb(15, 19, 42)
HSL Code hsl(231, 47%, 11%)

#0f132a Color Syntax

rgb()

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

 main {
    background-color: rgb(15, 19, 42);
   }

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(231, 47%, 11%);
  }

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

RGB Code Hex Code Preview
rgb(15, 19, 42, 10%) #0f132a1a  
rgb(15, 19, 42, 20%) #0f132a33  
rgb(15, 19, 42, 40%) #0f132a4C  
rgb(15, 19, 42, 60%) #0f132a99  
rgb(15, 19, 42, 80%) #0f132aCC  
rgb(15, 19, 42, 100%) #0f132aFF  

Saturated and desaturated colors of #0f132a

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

#0f132a Color Usage In CSS

 body {
    color: #0f132a;
    }
 p {
    color: rgb(15, 19, 42);
    }
 header {
    border-bottom:1px solid #0f132a;
    }
Recent Random Colors