Random Color Generator

#5c08bd Color

Color Codes
Hex Code #5c08bd
RGB Code rgb(92, 08, 189)
HSL Code hsl(268, 92%, 39%)

#5c08bd Color Syntax

rgb()

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

 main {
    background-color: rgb(92, 08, 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(268, 92%, 39%);
  }

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 #5c08bd

RGB Code Hex Code Preview
rgb(92, 08, 189, 10%) #5c08bd1a  
rgb(92, 08, 189, 20%) #5c08bd33  
rgb(92, 08, 189, 40%) #5c08bd4C  
rgb(92, 08, 189, 60%) #5c08bd99  
rgb(92, 08, 189, 80%) #5c08bdCC  
rgb(92, 08, 189, 100%) #5c08bdFF  

Saturated and desaturated colors of #5c08bd

HSL Code Preview
hsl(268, 10%, 39%)  
hsl(268, 20%, 39%)  
hsl(268, 40%, 39%)  
hsl(268, 60%, 39%)  
hsl(268, 80%, 39%)  
hsl(268, 100%, 39%)  

#5c08bd Color Usage In CSS

 body {
    color: #5c08bd;
    }
 p {
    color: rgb(92, 08, 189);
    }
 header {
    border-bottom:1px solid #5c08bd;
    }
Recent Random Colors