Random Color Generator

#142a6e Color

Color Codes
Hex Code #142a6e
RGB Code rgb(20, 42, 110)
HSL Code hsl(225, 69%, 25%)

#142a6e Color Syntax

rgb()

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

 main {
    background-color: rgb(20, 42, 110);
   }

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(225, 69%, 25%);
  }

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 #142a6e

RGB Code Hex Code Preview
rgb(20, 42, 110, 10%) #142a6e1a  
rgb(20, 42, 110, 20%) #142a6e33  
rgb(20, 42, 110, 40%) #142a6e4C  
rgb(20, 42, 110, 60%) #142a6e99  
rgb(20, 42, 110, 80%) #142a6eCC  
rgb(20, 42, 110, 100%) #142a6eFF  

Saturated and desaturated colors of #142a6e

HSL Code Preview
hsl(225, 10%, 25%)  
hsl(225, 20%, 25%)  
hsl(225, 40%, 25%)  
hsl(225, 60%, 25%)  
hsl(225, 80%, 25%)  
hsl(225, 100%, 25%)  

#142a6e Color Usage In CSS

 body {
    color: #142a6e;
    }
 p {
    color: rgb(20, 42, 110);
    }
 header {
    border-bottom:1px solid #142a6e;
    }
Recent Random Colors