Random Color Generator

#6b096e Color

Color Codes
Hex Code #6b096e
RGB Code rgb(107, 09, 110)
HSL Code hsl(298, 85%, 23%)

#6b096e Color Syntax

rgb()

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

 main {
    background-color: rgb(107, 09, 110);
   }

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(298, 85%, 23%);
  }

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 #6b096e

RGB Code Hex Code Preview
rgb(107, 09, 110, 10%) #6b096e1a  
rgb(107, 09, 110, 20%) #6b096e33  
rgb(107, 09, 110, 40%) #6b096e4C  
rgb(107, 09, 110, 60%) #6b096e99  
rgb(107, 09, 110, 80%) #6b096eCC  
rgb(107, 09, 110, 100%) #6b096eFF  

Saturated and desaturated colors of #6b096e

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

#6b096e Color Usage In CSS

 body {
    color: #6b096e;
    }
 p {
    color: rgb(107, 09, 110);
    }
 header {
    border-bottom:1px solid #6b096e;
    }
Recent Random Colors