#d274c1 Color
Color Codes | |
---|---|
Hex Code | #d274c1 |
RGB Code | rgb(210, 116, 193) |
HSL Code | hsl(311, 51%, 64%) |
#d274c1 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(210, 116, 193); }
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(311, 51%, 64%); }
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 #d274c1
RGB Code | Hex Code | Preview |
---|---|---|
rgb(210, 116, 193, 10%) | #d274c11a | |
rgb(210, 116, 193, 20%) | #d274c133 | |
rgb(210, 116, 193, 40%) | #d274c14C | |
rgb(210, 116, 193, 60%) | #d274c199 | |
rgb(210, 116, 193, 80%) | #d274c1CC | |
rgb(210, 116, 193, 100%) | #d274c1FF |
Saturated and desaturated colors of #d274c1
HSL Code | Preview |
---|---|
hsl(311, 10%, 64%) | |
hsl(311, 20%, 64%) | |
hsl(311, 40%, 64%) | |
hsl(311, 60%, 64%) | |
hsl(311, 80%, 64%) | |
hsl(311, 100%, 64%) |
#d274c1 Color Usage In CSS
body { color: #d274c1; } p { color: rgb(210, 116, 193); } header { border-bottom:1px solid #d274c1; }