#902dc0 Color
Color Codes | |
---|---|
Hex Code | #902dc0 |
RGB Code | rgb(144, 45, 192) |
HSL Code | hsl(280, 62%, 46%) |
#902dc0 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(144, 45, 192); }
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(280, 62%, 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 #902dc0
RGB Code | Hex Code | Preview |
---|---|---|
rgb(144, 45, 192, 10%) | #902dc01a | |
rgb(144, 45, 192, 20%) | #902dc033 | |
rgb(144, 45, 192, 40%) | #902dc04C | |
rgb(144, 45, 192, 60%) | #902dc099 | |
rgb(144, 45, 192, 80%) | #902dc0CC | |
rgb(144, 45, 192, 100%) | #902dc0FF |
Saturated and desaturated colors of #902dc0
HSL Code | Preview |
---|---|
hsl(280, 10%, 46%) | |
hsl(280, 20%, 46%) | |
hsl(280, 40%, 46%) | |
hsl(280, 60%, 46%) | |
hsl(280, 80%, 46%) | |
hsl(280, 100%, 46%) |
#902dc0 Color Usage In CSS
body { color: #902dc0; } p { color: rgb(144, 45, 192); } header { border-bottom:1px solid #902dc0; }