Random Color Generator

#142bd8 Color

Color Codes
Hex Code #142bd8
RGB Code rgb(20, 43, 216)
HSL Code hsl(233, 83%, 46%)

#142bd8 Color Syntax

rgb()

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

 main {
    background-color: rgb(20, 43, 216);
   }

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, 83%, 46%);
  }

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

RGB Code Hex Code Preview
rgb(20, 43, 216, 10%) #142bd81a  
rgb(20, 43, 216, 20%) #142bd833  
rgb(20, 43, 216, 40%) #142bd84C  
rgb(20, 43, 216, 60%) #142bd899  
rgb(20, 43, 216, 80%) #142bd8CC  
rgb(20, 43, 216, 100%) #142bd8FF  

Saturated and desaturated colors of #142bd8

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

#142bd8 Color Usage In CSS

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