#cd05e4 Color
Color Codes | |
---|---|
Hex Code | #cd05e4 |
RGB Code | rgb(205, 05, 228) |
HSL Code | hsl(294, 96%, 46%) |
#cd05e4 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(205, 05, 228); }
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(294, 96%, 46%); }
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 #cd05e4
RGB Code | Hex Code | Preview |
---|---|---|
rgb(205, 05, 228, 10%) | #cd05e41a | |
rgb(205, 05, 228, 20%) | #cd05e433 | |
rgb(205, 05, 228, 40%) | #cd05e44C | |
rgb(205, 05, 228, 60%) | #cd05e499 | |
rgb(205, 05, 228, 80%) | #cd05e4CC | |
rgb(205, 05, 228, 100%) | #cd05e4FF |
Saturated and desaturated colors of #cd05e4
HSL Code | Preview |
---|---|
hsl(294, 10%, 46%) | |
hsl(294, 20%, 46%) | |
hsl(294, 40%, 46%) | |
hsl(294, 60%, 46%) | |
hsl(294, 80%, 46%) | |
hsl(294, 100%, 46%) |
#cd05e4 Color Usage In CSS
body { color: #cd05e4; } p { color: rgb(205, 05, 228); } header { border-bottom:1px solid #cd05e4; }