Random Color Generator

#948cba Color

Color Codes
Hex Code #948cba
RGB Code rgb(148, 140, 186)
HSL Code hsl(250, 25%, 64%)

#948cba Color Syntax

rgb()

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

 main {
    background-color: rgb(148, 140, 186);
   }

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(250, 25%, 64%);
  }

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 #948cba

RGB Code Hex Code Preview
rgb(148, 140, 186, 10%) #948cba1a  
rgb(148, 140, 186, 20%) #948cba33  
rgb(148, 140, 186, 40%) #948cba4C  
rgb(148, 140, 186, 60%) #948cba99  
rgb(148, 140, 186, 80%) #948cbaCC  
rgb(148, 140, 186, 100%) #948cbaFF  

Saturated and desaturated colors of #948cba

HSL Code Preview
hsl(250, 10%, 64%)  
hsl(250, 20%, 64%)  
hsl(250, 40%, 64%)  
hsl(250, 60%, 64%)  
hsl(250, 80%, 64%)  
hsl(250, 100%, 64%)  

#948cba Color Usage In CSS

 body {
    color: #948cba;
    }
 p {
    color: rgb(148, 140, 186);
    }
 header {
    border-bottom:1px solid #948cba;
    }
Recent Random Colors