#fc04fd Color
Color Codes | |
---|---|
Hex Code | #fc04fd |
RGB Code | rgb(252, 04, 253) |
HSL Code | hsl(300, 98%, 50%) |
#fc04fd Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(252, 04, 253); }
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(300, 98%, 50%); }
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 #fc04fd
RGB Code | Hex Code | Preview |
---|---|---|
rgb(252, 04, 253, 10%) | #fc04fd1a | |
rgb(252, 04, 253, 20%) | #fc04fd33 | |
rgb(252, 04, 253, 40%) | #fc04fd4C | |
rgb(252, 04, 253, 60%) | #fc04fd99 | |
rgb(252, 04, 253, 80%) | #fc04fdCC | |
rgb(252, 04, 253, 100%) | #fc04fdFF |
Saturated and desaturated colors of #fc04fd
HSL Code | Preview |
---|---|
hsl(300, 10%, 50%) | |
hsl(300, 20%, 50%) | |
hsl(300, 40%, 50%) | |
hsl(300, 60%, 50%) | |
hsl(300, 80%, 50%) | |
hsl(300, 100%, 50%) |
#fc04fd Color Usage In CSS
body { color: #fc04fd; } p { color: rgb(252, 04, 253); } header { border-bottom:1px solid #fc04fd; }