Random Color Generator

#4f55ac Color

Color Codes
Hex Code #4f55ac
RGB Code rgb(79, 85, 172)
HSL Code hsl(236, 37%, 49%)

#4f55ac Color Syntax

rgb()

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

 main {
    background-color: rgb(79, 85, 172);
   }

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(236, 37%, 49%);
  }

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 #4f55ac

RGB Code Hex Code Preview
rgb(79, 85, 172, 10%) #4f55ac1a  
rgb(79, 85, 172, 20%) #4f55ac33  
rgb(79, 85, 172, 40%) #4f55ac4C  
rgb(79, 85, 172, 60%) #4f55ac99  
rgb(79, 85, 172, 80%) #4f55acCC  
rgb(79, 85, 172, 100%) #4f55acFF  

Saturated and desaturated colors of #4f55ac

HSL Code Preview
hsl(236, 10%, 49%)  
hsl(236, 20%, 49%)  
hsl(236, 40%, 49%)  
hsl(236, 60%, 49%)  
hsl(236, 80%, 49%)  
hsl(236, 100%, 49%)  

#4f55ac Color Usage In CSS

 body {
    color: #4f55ac;
    }
 p {
    color: rgb(79, 85, 172);
    }
 header {
    border-bottom:1px solid #4f55ac;
    }
Recent Random Colors