Random Color Generator

#6b55a7 Color

Color Codes
Hex Code #6b55a7
RGB Code rgb(107, 85, 167)
HSL Code hsl(256, 33%, 49%)

#6b55a7 Color Syntax

rgb()

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

 main {
    background-color: rgb(107, 85, 167);
   }

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(256, 33%, 49%);
  }

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

RGB Code Hex Code Preview
rgb(107, 85, 167, 10%) #6b55a71a  
rgb(107, 85, 167, 20%) #6b55a733  
rgb(107, 85, 167, 40%) #6b55a74C  
rgb(107, 85, 167, 60%) #6b55a799  
rgb(107, 85, 167, 80%) #6b55a7CC  
rgb(107, 85, 167, 100%) #6b55a7FF  

Saturated and desaturated colors of #6b55a7

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

#6b55a7 Color Usage In CSS

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