#ea38cf Color
Color Codes | |
---|---|
Hex Code | #ea38cf |
RGB Code | rgb(234, 56, 207) |
HSL Code | hsl(309, 81%, 57%) |
#ea38cf Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(234, 56, 207); }
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(309, 81%, 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 #ea38cf
RGB Code | Hex Code | Preview |
---|---|---|
rgb(234, 56, 207, 10%) | #ea38cf1a | |
rgb(234, 56, 207, 20%) | #ea38cf33 | |
rgb(234, 56, 207, 40%) | #ea38cf4C | |
rgb(234, 56, 207, 60%) | #ea38cf99 | |
rgb(234, 56, 207, 80%) | #ea38cfCC | |
rgb(234, 56, 207, 100%) | #ea38cfFF |
Saturated and desaturated colors of #ea38cf
HSL Code | Preview |
---|---|
hsl(309, 10%, 57%) | |
hsl(309, 20%, 57%) | |
hsl(309, 40%, 57%) | |
hsl(309, 60%, 57%) | |
hsl(309, 80%, 57%) | |
hsl(309, 100%, 57%) |
#ea38cf Color Usage In CSS
body { color: #ea38cf; } p { color: rgb(234, 56, 207); } header { border-bottom:1px solid #ea38cf; }