#cd3ffb Color
Color Codes | |
---|---|
Hex Code | #cd3ffb |
RGB Code | rgb(205, 63, 251) |
HSL Code | hsl(285, 96%, 62%) |
#cd3ffb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(205, 63, 251); }
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(285, 96%, 62%); }
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 #cd3ffb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(205, 63, 251, 10%) | #cd3ffb1a | |
rgb(205, 63, 251, 20%) | #cd3ffb33 | |
rgb(205, 63, 251, 40%) | #cd3ffb4C | |
rgb(205, 63, 251, 60%) | #cd3ffb99 | |
rgb(205, 63, 251, 80%) | #cd3ffbCC | |
rgb(205, 63, 251, 100%) | #cd3ffbFF |
Saturated and desaturated colors of #cd3ffb
HSL Code | Preview |
---|---|
hsl(285, 10%, 62%) | |
hsl(285, 20%, 62%) | |
hsl(285, 40%, 62%) | |
hsl(285, 60%, 62%) | |
hsl(285, 80%, 62%) | |
hsl(285, 100%, 62%) |
#cd3ffb Color Usage In CSS
body { color: #cd3ffb; } p { color: rgb(205, 63, 251); } header { border-bottom:1px solid #cd3ffb; }