Random Color Generator

#5605bd Color

Color Codes
Hex Code #5605bd
RGB Code rgb(86, 05, 189)
HSL Code hsl(266, 95%, 38%)

#5605bd Color Syntax

rgb()

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

 main {
    background-color: rgb(86, 05, 189);
   }

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(266, 95%, 38%);
  }

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 #5605bd

RGB Code Hex Code Preview
rgb(86, 05, 189, 10%) #5605bd1a  
rgb(86, 05, 189, 20%) #5605bd33  
rgb(86, 05, 189, 40%) #5605bd4C  
rgb(86, 05, 189, 60%) #5605bd99  
rgb(86, 05, 189, 80%) #5605bdCC  
rgb(86, 05, 189, 100%) #5605bdFF  

Saturated and desaturated colors of #5605bd

HSL Code Preview
hsl(266, 10%, 38%)  
hsl(266, 20%, 38%)  
hsl(266, 40%, 38%)  
hsl(266, 60%, 38%)  
hsl(266, 80%, 38%)  
hsl(266, 100%, 38%)  

#5605bd Color Usage In CSS

 body {
    color: #5605bd;
    }
 p {
    color: rgb(86, 05, 189);
    }
 header {
    border-bottom:1px solid #5605bd;
    }
Recent Random Colors