#ad0ef4 Color
Color Codes | |
---|---|
Hex Code | #ad0ef4 |
RGB Code | rgb(173, 14, 244) |
HSL Code | hsl(281, 91%, 51%) |
#ad0ef4 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(173, 14, 244); }
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(281, 91%, 51%); }
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 #ad0ef4
RGB Code | Hex Code | Preview |
---|---|---|
rgb(173, 14, 244, 10%) | #ad0ef41a | |
rgb(173, 14, 244, 20%) | #ad0ef433 | |
rgb(173, 14, 244, 40%) | #ad0ef44C | |
rgb(173, 14, 244, 60%) | #ad0ef499 | |
rgb(173, 14, 244, 80%) | #ad0ef4CC | |
rgb(173, 14, 244, 100%) | #ad0ef4FF |
Saturated and desaturated colors of #ad0ef4
HSL Code | Preview |
---|---|
hsl(281, 10%, 51%) | |
hsl(281, 20%, 51%) | |
hsl(281, 40%, 51%) | |
hsl(281, 60%, 51%) | |
hsl(281, 80%, 51%) | |
hsl(281, 100%, 51%) |
#ad0ef4 Color Usage In CSS
body { color: #ad0ef4; } p { color: rgb(173, 14, 244); } header { border-bottom:1px solid #ad0ef4; }