Random Color Generator

#761158 Color

Color Codes
Hex Code #761158
RGB Code rgb(118, 17, 88)
HSL Code hsl(318, 75%, 26%)

#761158 Color Syntax

rgb()

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

 main {
    background-color: rgb(118, 17, 88);
   }

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(318, 75%, 26%);
  }

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 #761158

RGB Code Hex Code Preview
rgb(118, 17, 88, 10%) #7611581a  
rgb(118, 17, 88, 20%) #76115833  
rgb(118, 17, 88, 40%) #7611584C  
rgb(118, 17, 88, 60%) #76115899  
rgb(118, 17, 88, 80%) #761158CC  
rgb(118, 17, 88, 100%) #761158FF  

Saturated and desaturated colors of #761158

HSL Code Preview
hsl(318, 10%, 26%)  
hsl(318, 20%, 26%)  
hsl(318, 40%, 26%)  
hsl(318, 60%, 26%)  
hsl(318, 80%, 26%)  
hsl(318, 100%, 26%)  

#761158 Color Usage In CSS

 body {
    color: #761158;
    }
 p {
    color: rgb(118, 17, 88);
    }
 header {
    border-bottom:1px solid #761158;
    }
Recent Random Colors