Random Color Generator

#5866e9 Color

Color Codes
Hex Code #5866e9
RGB Code rgb(88, 102, 233)
HSL Code hsl(234, 77%, 63%)

#5866e9 Color Syntax

rgb()

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

 main {
    background-color: rgb(88, 102, 233);
   }

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(234, 77%, 63%);
  }

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 #5866e9

RGB Code Hex Code Preview
rgb(88, 102, 233, 10%) #5866e91a  
rgb(88, 102, 233, 20%) #5866e933  
rgb(88, 102, 233, 40%) #5866e94C  
rgb(88, 102, 233, 60%) #5866e999  
rgb(88, 102, 233, 80%) #5866e9CC  
rgb(88, 102, 233, 100%) #5866e9FF  

Saturated and desaturated colors of #5866e9

HSL Code Preview
hsl(234, 10%, 63%)  
hsl(234, 20%, 63%)  
hsl(234, 40%, 63%)  
hsl(234, 60%, 63%)  
hsl(234, 80%, 63%)  
hsl(234, 100%, 63%)  

#5866e9 Color Usage In CSS

 body {
    color: #5866e9;
    }
 p {
    color: rgb(88, 102, 233);
    }
 header {
    border-bottom:1px solid #5866e9;
    }
Recent Random Colors