Random Color Generator

#b287fa Color

Color Codes
Hex Code #b287fa
RGB Code rgb(178, 135, 250)
HSL Code hsl(262, 92%, 75%)

#b287fa Color Syntax

rgb()

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

 main {
    background-color: rgb(178, 135, 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(262, 92%, 75%);
  }

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

RGB Code Hex Code Preview
rgb(178, 135, 250, 10%) #b287fa1a  
rgb(178, 135, 250, 20%) #b287fa33  
rgb(178, 135, 250, 40%) #b287fa4C  
rgb(178, 135, 250, 60%) #b287fa99  
rgb(178, 135, 250, 80%) #b287faCC  
rgb(178, 135, 250, 100%) #b287faFF  

Saturated and desaturated colors of #b287fa

HSL Code Preview
hsl(262, 10%, 75%)  
hsl(262, 20%, 75%)  
hsl(262, 40%, 75%)  
hsl(262, 60%, 75%)  
hsl(262, 80%, 75%)  
hsl(262, 100%, 75%)  

#b287fa Color Usage In CSS

 body {
    color: #b287fa;
    }
 p {
    color: rgb(178, 135, 250);
    }
 header {
    border-bottom:1px solid #b287fa;
    }
Recent Random Colors