Random Color Generator

#c285dc Color

Color Codes
Hex Code #c285dc
RGB Code rgb(194, 133, 220)
HSL Code hsl(282, 55%, 69%)

#c285dc Color Syntax

rgb()

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

 main {
    background-color: rgb(194, 133, 220);
   }

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(282, 55%, 69%);
  }

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

RGB Code Hex Code Preview
rgb(194, 133, 220, 10%) #c285dc1a  
rgb(194, 133, 220, 20%) #c285dc33  
rgb(194, 133, 220, 40%) #c285dc4C  
rgb(194, 133, 220, 60%) #c285dc99  
rgb(194, 133, 220, 80%) #c285dcCC  
rgb(194, 133, 220, 100%) #c285dcFF  

Saturated and desaturated colors of #c285dc

HSL Code Preview
hsl(282, 10%, 69%)  
hsl(282, 20%, 69%)  
hsl(282, 40%, 69%)  
hsl(282, 60%, 69%)  
hsl(282, 80%, 69%)  
hsl(282, 100%, 69%)  

#c285dc Color Usage In CSS

 body {
    color: #c285dc;
    }
 p {
    color: rgb(194, 133, 220);
    }
 header {
    border-bottom:1px solid #c285dc;
    }
Recent Random Colors