Random Color Generator

#c02bd4 Color

Color Codes
Hex Code #c02bd4
RGB Code rgb(192, 43, 212)
HSL Code hsl(293, 66%, 50%)

#c02bd4 Color Syntax

rgb()

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

 main {
    background-color: rgb(192, 43, 212);
   }

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(293, 66%, 50%);
  }

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

RGB Code Hex Code Preview
rgb(192, 43, 212, 10%) #c02bd41a  
rgb(192, 43, 212, 20%) #c02bd433  
rgb(192, 43, 212, 40%) #c02bd44C  
rgb(192, 43, 212, 60%) #c02bd499  
rgb(192, 43, 212, 80%) #c02bd4CC  
rgb(192, 43, 212, 100%) #c02bd4FF  

Saturated and desaturated colors of #c02bd4

HSL Code Preview
hsl(293, 10%, 50%)  
hsl(293, 20%, 50%)  
hsl(293, 40%, 50%)  
hsl(293, 60%, 50%)  
hsl(293, 80%, 50%)  
hsl(293, 100%, 50%)  

#c02bd4 Color Usage In CSS

 body {
    color: #c02bd4;
    }
 p {
    color: rgb(192, 43, 212);
    }
 header {
    border-bottom:1px solid #c02bd4;
    }
Recent Random Colors