Random Color Generator

#c881f8 Color

Color Codes
Hex Code #c881f8
RGB Code rgb(200, 129, 248)
HSL Code hsl(276, 89%, 74%)

#c881f8 Color Syntax

rgb()

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

 main {
    background-color: rgb(200, 129, 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(276, 89%, 74%);
  }

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

RGB Code Hex Code Preview
rgb(200, 129, 248, 10%) #c881f81a  
rgb(200, 129, 248, 20%) #c881f833  
rgb(200, 129, 248, 40%) #c881f84C  
rgb(200, 129, 248, 60%) #c881f899  
rgb(200, 129, 248, 80%) #c881f8CC  
rgb(200, 129, 248, 100%) #c881f8FF  

Saturated and desaturated colors of #c881f8

HSL Code Preview
hsl(276, 10%, 74%)  
hsl(276, 20%, 74%)  
hsl(276, 40%, 74%)  
hsl(276, 60%, 74%)  
hsl(276, 80%, 74%)  
hsl(276, 100%, 74%)  

#c881f8 Color Usage In CSS

 body {
    color: #c881f8;
    }
 p {
    color: rgb(200, 129, 248);
    }
 header {
    border-bottom:1px solid #c881f8;
    }
Recent Random Colors