Random Color Generator

#c478ff Color

Color Codes
Hex Code #c478ff
RGB Code rgb(196, 120, 255)
HSL Code hsl(274, 100%, 74%)

#c478ff Color Syntax

rgb()

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

 main {
    background-color: rgb(196, 120, 255);
   }

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(274, 100%, 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 #c478ff

RGB Code Hex Code Preview
rgb(196, 120, 255, 10%) #c478ff1a  
rgb(196, 120, 255, 20%) #c478ff33  
rgb(196, 120, 255, 40%) #c478ff4C  
rgb(196, 120, 255, 60%) #c478ff99  
rgb(196, 120, 255, 80%) #c478ffCC  
rgb(196, 120, 255, 100%) #c478ffFF  

Saturated and desaturated colors of #c478ff

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

#c478ff Color Usage In CSS

 body {
    color: #c478ff;
    }
 p {
    color: rgb(196, 120, 255);
    }
 header {
    border-bottom:1px solid #c478ff;
    }
Recent Random Colors