Random Color Generator

#7890fa Color

Color Codes
Hex Code #7890fa
RGB Code rgb(120, 144, 250)
HSL Code hsl(229, 93%, 73%)

#7890fa Color Syntax

rgb()

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

 main {
    background-color: rgb(120, 144, 250);
   }

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(229, 93%, 73%);
  }

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 #7890fa

RGB Code Hex Code Preview
rgb(120, 144, 250, 10%) #7890fa1a  
rgb(120, 144, 250, 20%) #7890fa33  
rgb(120, 144, 250, 40%) #7890fa4C  
rgb(120, 144, 250, 60%) #7890fa99  
rgb(120, 144, 250, 80%) #7890faCC  
rgb(120, 144, 250, 100%) #7890faFF  

Saturated and desaturated colors of #7890fa

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

#7890fa Color Usage In CSS

 body {
    color: #7890fa;
    }
 p {
    color: rgb(120, 144, 250);
    }
 header {
    border-bottom:1px solid #7890fa;
    }
Recent Random Colors