Random Color Generator

#8074e4 Color

Color Codes
Hex Code #8074e4
RGB Code rgb(128, 116, 228)
HSL Code hsl(246, 67%, 67%)

#8074e4 Color Syntax

rgb()

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

 main {
    background-color: rgb(128, 116, 228);
   }

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(246, 67%, 67%);
  }

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 #8074e4

RGB Code Hex Code Preview
rgb(128, 116, 228, 10%) #8074e41a  
rgb(128, 116, 228, 20%) #8074e433  
rgb(128, 116, 228, 40%) #8074e44C  
rgb(128, 116, 228, 60%) #8074e499  
rgb(128, 116, 228, 80%) #8074e4CC  
rgb(128, 116, 228, 100%) #8074e4FF  

Saturated and desaturated colors of #8074e4

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

#8074e4 Color Usage In CSS

 body {
    color: #8074e4;
    }
 p {
    color: rgb(128, 116, 228);
    }
 header {
    border-bottom:1px solid #8074e4;
    }
Recent Random Colors