#fd18cd Color
Color Codes | |
---|---|
Hex Code | #fd18cd |
RGB Code | rgb(253, 24, 205) |
HSL Code | hsl(313, 98%, 54%) |
#fd18cd Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(253, 24, 205); }
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(313, 98%, 54%); }
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 #fd18cd
RGB Code | Hex Code | Preview |
---|---|---|
rgb(253, 24, 205, 10%) | #fd18cd1a | |
rgb(253, 24, 205, 20%) | #fd18cd33 | |
rgb(253, 24, 205, 40%) | #fd18cd4C | |
rgb(253, 24, 205, 60%) | #fd18cd99 | |
rgb(253, 24, 205, 80%) | #fd18cdCC | |
rgb(253, 24, 205, 100%) | #fd18cdFF |
Saturated and desaturated colors of #fd18cd
HSL Code | Preview |
---|---|
hsl(313, 10%, 54%) | |
hsl(313, 20%, 54%) | |
hsl(313, 40%, 54%) | |
hsl(313, 60%, 54%) | |
hsl(313, 80%, 54%) | |
hsl(313, 100%, 54%) |
#fd18cd Color Usage In CSS
body { color: #fd18cd; } p { color: rgb(253, 24, 205); } header { border-bottom:1px solid #fd18cd; }