Random Color Generator

#7b10d4 Color

Color Codes
Hex Code #7b10d4
RGB Code rgb(123, 16, 212)
HSL Code hsl(273, 86%, 45%)

#7b10d4 Color Syntax

rgb()

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

 main {
    background-color: rgb(123, 16, 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(273, 86%, 45%);
  }

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

RGB Code Hex Code Preview
rgb(123, 16, 212, 10%) #7b10d41a  
rgb(123, 16, 212, 20%) #7b10d433  
rgb(123, 16, 212, 40%) #7b10d44C  
rgb(123, 16, 212, 60%) #7b10d499  
rgb(123, 16, 212, 80%) #7b10d4CC  
rgb(123, 16, 212, 100%) #7b10d4FF  

Saturated and desaturated colors of #7b10d4

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

#7b10d4 Color Usage In CSS

 body {
    color: #7b10d4;
    }
 p {
    color: rgb(123, 16, 212);
    }
 header {
    border-bottom:1px solid #7b10d4;
    }
Recent Random Colors