Random Color Generator

#5854f9 Color

Color Codes
Hex Code #5854f9
RGB Code rgb(88, 84, 249)
HSL Code hsl(241, 93%, 65%)

#5854f9 Color Syntax

rgb()

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

 main {
    background-color: rgb(88, 84, 249);
   }

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(241, 93%, 65%);
  }

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 #5854f9

RGB Code Hex Code Preview
rgb(88, 84, 249, 10%) #5854f91a  
rgb(88, 84, 249, 20%) #5854f933  
rgb(88, 84, 249, 40%) #5854f94C  
rgb(88, 84, 249, 60%) #5854f999  
rgb(88, 84, 249, 80%) #5854f9CC  
rgb(88, 84, 249, 100%) #5854f9FF  

Saturated and desaturated colors of #5854f9

HSL Code Preview
hsl(241, 10%, 65%)  
hsl(241, 20%, 65%)  
hsl(241, 40%, 65%)  
hsl(241, 60%, 65%)  
hsl(241, 80%, 65%)  
hsl(241, 100%, 65%)  

#5854f9 Color Usage In CSS

 body {
    color: #5854f9;
    }
 p {
    color: rgb(88, 84, 249);
    }
 header {
    border-bottom:1px solid #5854f9;
    }
Recent Random Colors