Random Color Generator

#580cf8 Color

Color Codes
Hex Code #580cf8
RGB Code rgb(88, 12, 248)
HSL Code hsl(259, 94%, 51%)

#580cf8 Color Syntax

rgb()

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

 main {
    background-color: rgb(88, 12, 248);
   }

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(259, 94%, 51%);
  }

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 #580cf8

RGB Code Hex Code Preview
rgb(88, 12, 248, 10%) #580cf81a  
rgb(88, 12, 248, 20%) #580cf833  
rgb(88, 12, 248, 40%) #580cf84C  
rgb(88, 12, 248, 60%) #580cf899  
rgb(88, 12, 248, 80%) #580cf8CC  
rgb(88, 12, 248, 100%) #580cf8FF  

Saturated and desaturated colors of #580cf8

HSL Code Preview
hsl(259, 10%, 51%)  
hsl(259, 20%, 51%)  
hsl(259, 40%, 51%)  
hsl(259, 60%, 51%)  
hsl(259, 80%, 51%)  
hsl(259, 100%, 51%)  

#580cf8 Color Usage In CSS

 body {
    color: #580cf8;
    }
 p {
    color: rgb(88, 12, 248);
    }
 header {
    border-bottom:1px solid #580cf8;
    }
Recent Random Colors