Random Color Generator

#d28bf0 Color

Color Codes
Hex Code #d28bf0
RGB Code rgb(210, 139, 240)
HSL Code hsl(282, 77%, 74%)

#d28bf0 Color Syntax

rgb()

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

 main {
    background-color: rgb(210, 139, 240);
   }

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(282, 77%, 74%);
  }

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

RGB Code Hex Code Preview
rgb(210, 139, 240, 10%) #d28bf01a  
rgb(210, 139, 240, 20%) #d28bf033  
rgb(210, 139, 240, 40%) #d28bf04C  
rgb(210, 139, 240, 60%) #d28bf099  
rgb(210, 139, 240, 80%) #d28bf0CC  
rgb(210, 139, 240, 100%) #d28bf0FF  

Saturated and desaturated colors of #d28bf0

HSL Code Preview
hsl(282, 10%, 74%)  
hsl(282, 20%, 74%)  
hsl(282, 40%, 74%)  
hsl(282, 60%, 74%)  
hsl(282, 80%, 74%)  
hsl(282, 100%, 74%)  

#d28bf0 Color Usage In CSS

 body {
    color: #d28bf0;
    }
 p {
    color: rgb(210, 139, 240);
    }
 header {
    border-bottom:1px solid #d28bf0;
    }
Recent Random Colors