Random Color Generator

#c236fd Color

Color Codes
Hex Code #c236fd
RGB Code rgb(194, 54, 253)
HSL Code hsl(282, 98%, 60%)

#c236fd Color Syntax

rgb()

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

 main {
    background-color: rgb(194, 54, 253);
   }

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, 98%, 60%);
  }

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

RGB Code Hex Code Preview
rgb(194, 54, 253, 10%) #c236fd1a  
rgb(194, 54, 253, 20%) #c236fd33  
rgb(194, 54, 253, 40%) #c236fd4C  
rgb(194, 54, 253, 60%) #c236fd99  
rgb(194, 54, 253, 80%) #c236fdCC  
rgb(194, 54, 253, 100%) #c236fdFF  

Saturated and desaturated colors of #c236fd

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

#c236fd Color Usage In CSS

 body {
    color: #c236fd;
    }
 p {
    color: rgb(194, 54, 253);
    }
 header {
    border-bottom:1px solid #c236fd;
    }
Recent Random Colors