#d238eb Color
Color Codes | |
---|---|
Hex Code | #d238eb |
RGB Code | rgb(210, 56, 235) |
HSL Code | hsl(292, 82%, 57%) |
#d238eb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(210, 56, 235); }
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(292, 82%, 57%); }
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 #d238eb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(210, 56, 235, 10%) | #d238eb1a | |
rgb(210, 56, 235, 20%) | #d238eb33 | |
rgb(210, 56, 235, 40%) | #d238eb4C | |
rgb(210, 56, 235, 60%) | #d238eb99 | |
rgb(210, 56, 235, 80%) | #d238ebCC | |
rgb(210, 56, 235, 100%) | #d238ebFF |
Saturated and desaturated colors of #d238eb
HSL Code | Preview |
---|---|
hsl(292, 10%, 57%) | |
hsl(292, 20%, 57%) | |
hsl(292, 40%, 57%) | |
hsl(292, 60%, 57%) | |
hsl(292, 80%, 57%) | |
hsl(292, 100%, 57%) |
#d238eb Color Usage In CSS
body { color: #d238eb; } p { color: rgb(210, 56, 235); } header { border-bottom:1px solid #d238eb; }