Random Color Generator

#4656cf Color

Color Codes
Hex Code #4656cf
RGB Code rgb(70, 86, 207)
HSL Code hsl(233, 59%, 54%)

#4656cf Color Syntax

rgb()

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

 main {
    background-color: rgb(70, 86, 207);
   }

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, 59%, 54%);
  }

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 #4656cf

RGB Code Hex Code Preview
rgb(70, 86, 207, 10%) #4656cf1a  
rgb(70, 86, 207, 20%) #4656cf33  
rgb(70, 86, 207, 40%) #4656cf4C  
rgb(70, 86, 207, 60%) #4656cf99  
rgb(70, 86, 207, 80%) #4656cfCC  
rgb(70, 86, 207, 100%) #4656cfFF  

Saturated and desaturated colors of #4656cf

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

#4656cf Color Usage In CSS

 body {
    color: #4656cf;
    }
 p {
    color: rgb(70, 86, 207);
    }
 header {
    border-bottom:1px solid #4656cf;
    }
Recent Random Colors