#653bfb Color
Color Codes | |
---|---|
Hex Code | #653bfb |
RGB Code | rgb(101, 59, 251) |
HSL Code | hsl(253, 96%, 61%) |
#653bfb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(101, 59, 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(253, 96%, 61%); }
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 #653bfb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(101, 59, 251, 10%) | #653bfb1a | |
rgb(101, 59, 251, 20%) | #653bfb33 | |
rgb(101, 59, 251, 40%) | #653bfb4C | |
rgb(101, 59, 251, 60%) | #653bfb99 | |
rgb(101, 59, 251, 80%) | #653bfbCC | |
rgb(101, 59, 251, 100%) | #653bfbFF |
Saturated and desaturated colors of #653bfb
HSL Code | Preview |
---|---|
hsl(253, 10%, 61%) | |
hsl(253, 20%, 61%) | |
hsl(253, 40%, 61%) | |
hsl(253, 60%, 61%) | |
hsl(253, 80%, 61%) | |
hsl(253, 100%, 61%) |
#653bfb Color Usage In CSS
body { color: #653bfb; } p { color: rgb(101, 59, 251); } header { border-bottom:1px solid #653bfb; }