Random Color Generator

#121b5c Color

Color Codes
Hex Code #121b5c
RGB Code rgb(18, 27, 92)
HSL Code hsl(233, 67%, 22%)

#121b5c Color Syntax

rgb()

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

 main {
    background-color: rgb(18, 27, 92);
   }

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(233, 67%, 22%);
  }

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 #121b5c

RGB Code Hex Code Preview
rgb(18, 27, 92, 10%) #121b5c1a  
rgb(18, 27, 92, 20%) #121b5c33  
rgb(18, 27, 92, 40%) #121b5c4C  
rgb(18, 27, 92, 60%) #121b5c99  
rgb(18, 27, 92, 80%) #121b5cCC  
rgb(18, 27, 92, 100%) #121b5cFF  

Saturated and desaturated colors of #121b5c

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

#121b5c Color Usage In CSS

 body {
    color: #121b5c;
    }
 p {
    color: rgb(18, 27, 92);
    }
 header {
    border-bottom:1px solid #121b5c;
    }
Recent Random Colors