Random Color Generator

#af887b Color

Color Codes
Hex Code #af887b
RGB Code rgb(175, 136, 123)
HSL Code hsl(15, 25%, 58%)

#af887b Color Syntax

rgb()

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

 main {
    background-color: rgb(175, 136, 123);
   }

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(15, 25%, 58%);
  }

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

RGB Code Hex Code Preview
rgb(175, 136, 123, 10%) #af887b1a  
rgb(175, 136, 123, 20%) #af887b33  
rgb(175, 136, 123, 40%) #af887b4C  
rgb(175, 136, 123, 60%) #af887b99  
rgb(175, 136, 123, 80%) #af887bCC  
rgb(175, 136, 123, 100%) #af887bFF  

Saturated and desaturated colors of #af887b

HSL Code Preview
hsl(15, 10%, 58%)  
hsl(15, 20%, 58%)  
hsl(15, 40%, 58%)  
hsl(15, 60%, 58%)  
hsl(15, 80%, 58%)  
hsl(15, 100%, 58%)  

#af887b Color Usage In CSS

 body {
    color: #af887b;
    }
 p {
    color: rgb(175, 136, 123);
    }
 header {
    border-bottom:1px solid #af887b;
    }
Recent Random Colors