Random Color Generator

#121c90 Color

Color Codes
Hex Code #121c90
RGB Code rgb(18, 28, 144)
HSL Code hsl(235, 78%, 32%)

#121c90 Color Syntax

rgb()

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

 main {
    background-color: rgb(18, 28, 144);
   }

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(235, 78%, 32%);
  }

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

RGB Code Hex Code Preview
rgb(18, 28, 144, 10%) #121c901a  
rgb(18, 28, 144, 20%) #121c9033  
rgb(18, 28, 144, 40%) #121c904C  
rgb(18, 28, 144, 60%) #121c9099  
rgb(18, 28, 144, 80%) #121c90CC  
rgb(18, 28, 144, 100%) #121c90FF  

Saturated and desaturated colors of #121c90

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

#121c90 Color Usage In CSS

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