Random Color Generator

#4254aa Color

Color Codes
Hex Code #4254aa
RGB Code rgb(66, 84, 170)
HSL Code hsl(230, 44%, 46%)

#4254aa Color Syntax

rgb()

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

 main {
    background-color: rgb(66, 84, 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(230, 44%, 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 #4254aa

RGB Code Hex Code Preview
rgb(66, 84, 170, 10%) #4254aa1a  
rgb(66, 84, 170, 20%) #4254aa33  
rgb(66, 84, 170, 40%) #4254aa4C  
rgb(66, 84, 170, 60%) #4254aa99  
rgb(66, 84, 170, 80%) #4254aaCC  
rgb(66, 84, 170, 100%) #4254aaFF  

Saturated and desaturated colors of #4254aa

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

#4254aa Color Usage In CSS

 body {
    color: #4254aa;
    }
 p {
    color: rgb(66, 84, 170);
    }
 header {
    border-bottom:1px solid #4254aa;
    }
Recent Random Colors