Random Color Generator

#418eaa Color

Color Codes
Hex Code #418eaa
RGB Code rgb(65, 142, 170)
HSL Code hsl(196, 45%, 46%)

#418eaa Color Syntax

rgb()

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

 main {
    background-color: rgb(65, 142, 170);
   }

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(196, 45%, 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 #418eaa

RGB Code Hex Code Preview
rgb(65, 142, 170, 10%) #418eaa1a  
rgb(65, 142, 170, 20%) #418eaa33  
rgb(65, 142, 170, 40%) #418eaa4C  
rgb(65, 142, 170, 60%) #418eaa99  
rgb(65, 142, 170, 80%) #418eaaCC  
rgb(65, 142, 170, 100%) #418eaaFF  

Saturated and desaturated colors of #418eaa

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

#418eaa Color Usage In CSS

 body {
    color: #418eaa;
    }
 p {
    color: rgb(65, 142, 170);
    }
 header {
    border-bottom:1px solid #418eaa;
    }
Recent Random Colors