Random Color Generator

#5653f0 Color

Color Codes
Hex Code #5653f0
RGB Code rgb(86, 83, 240)
HSL Code hsl(241, 84%, 63%)

#5653f0 Color Syntax

rgb()

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

 main {
    background-color: rgb(86, 83, 240);
   }

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, 84%, 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 #5653f0

RGB Code Hex Code Preview
rgb(86, 83, 240, 10%) #5653f01a  
rgb(86, 83, 240, 20%) #5653f033  
rgb(86, 83, 240, 40%) #5653f04C  
rgb(86, 83, 240, 60%) #5653f099  
rgb(86, 83, 240, 80%) #5653f0CC  
rgb(86, 83, 240, 100%) #5653f0FF  

Saturated and desaturated colors of #5653f0

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

#5653f0 Color Usage In CSS

 body {
    color: #5653f0;
    }
 p {
    color: rgb(86, 83, 240);
    }
 header {
    border-bottom:1px solid #5653f0;
    }
Recent Random Colors