Random Color Generator

#ca81ca Color

Color Codes
Hex Code #ca81ca
RGB Code rgb(202, 129, 202)
HSL Code hsl(300, 41%, 65%)

#ca81ca Color Syntax

rgb()

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

 main {
    background-color: rgb(202, 129, 202);
   }

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(300, 41%, 65%);
  }

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

RGB Code Hex Code Preview
rgb(202, 129, 202, 10%) #ca81ca1a  
rgb(202, 129, 202, 20%) #ca81ca33  
rgb(202, 129, 202, 40%) #ca81ca4C  
rgb(202, 129, 202, 60%) #ca81ca99  
rgb(202, 129, 202, 80%) #ca81caCC  
rgb(202, 129, 202, 100%) #ca81caFF  

Saturated and desaturated colors of #ca81ca

HSL Code Preview
hsl(300, 10%, 65%)  
hsl(300, 20%, 65%)  
hsl(300, 40%, 65%)  
hsl(300, 60%, 65%)  
hsl(300, 80%, 65%)  
hsl(300, 100%, 65%)  

#ca81ca Color Usage In CSS

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