#e398ba Color
Color Codes | |
---|---|
Hex Code | #e398ba |
RGB Code | rgb(227, 152, 186) |
HSL Code | hsl(333, 57%, 74%) |
#e398ba Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(227, 152, 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(333, 57%, 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 #e398ba
RGB Code | Hex Code | Preview |
---|---|---|
rgb(227, 152, 186, 10%) | #e398ba1a | |
rgb(227, 152, 186, 20%) | #e398ba33 | |
rgb(227, 152, 186, 40%) | #e398ba4C | |
rgb(227, 152, 186, 60%) | #e398ba99 | |
rgb(227, 152, 186, 80%) | #e398baCC | |
rgb(227, 152, 186, 100%) | #e398baFF |
Saturated and desaturated colors of #e398ba
HSL Code | Preview |
---|---|
hsl(333, 10%, 74%) | |
hsl(333, 20%, 74%) | |
hsl(333, 40%, 74%) | |
hsl(333, 60%, 74%) | |
hsl(333, 80%, 74%) | |
hsl(333, 100%, 74%) |
#e398ba Color Usage In CSS
body { color: #e398ba; } p { color: rgb(227, 152, 186); } header { border-bottom:1px solid #e398ba; }