#fd28dc Color
Color Codes | |
---|---|
Hex Code | #fd28dc |
RGB Code | rgb(253, 40, 220) |
HSL Code | hsl(309, 98%, 57%) |
#fd28dc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(253, 40, 220); }
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, 98%, 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 #fd28dc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(253, 40, 220, 10%) | #fd28dc1a | |
rgb(253, 40, 220, 20%) | #fd28dc33 | |
rgb(253, 40, 220, 40%) | #fd28dc4C | |
rgb(253, 40, 220, 60%) | #fd28dc99 | |
rgb(253, 40, 220, 80%) | #fd28dcCC | |
rgb(253, 40, 220, 100%) | #fd28dcFF |
Saturated and desaturated colors of #fd28dc
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%) |
#fd28dc Color Usage In CSS
body { color: #fd28dc; } p { color: rgb(253, 40, 220); } header { border-bottom:1px solid #fd28dc; }