#cf4bec Color
Color Codes | |
---|---|
Hex Code | #cf4bec |
RGB Code | rgb(207, 75, 236) |
HSL Code | hsl(289, 81%, 61%) |
#cf4bec Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(207, 75, 236); }
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(289, 81%, 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 #cf4bec
RGB Code | Hex Code | Preview |
---|---|---|
rgb(207, 75, 236, 10%) | #cf4bec1a | |
rgb(207, 75, 236, 20%) | #cf4bec33 | |
rgb(207, 75, 236, 40%) | #cf4bec4C | |
rgb(207, 75, 236, 60%) | #cf4bec99 | |
rgb(207, 75, 236, 80%) | #cf4becCC | |
rgb(207, 75, 236, 100%) | #cf4becFF |
Saturated and desaturated colors of #cf4bec
HSL Code | Preview |
---|---|
hsl(289, 10%, 61%) | |
hsl(289, 20%, 61%) | |
hsl(289, 40%, 61%) | |
hsl(289, 60%, 61%) | |
hsl(289, 80%, 61%) | |
hsl(289, 100%, 61%) |
#cf4bec Color Usage In CSS
body { color: #cf4bec; } p { color: rgb(207, 75, 236); } header { border-bottom:1px solid #cf4bec; }