#c30856 Color
Color Codes | |
---|---|
Hex Code | #c30856 |
RGB Code | rgb(195, 08, 86) |
HSL Code | hsl(335, 92%, 40%) |
#c30856 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(195, 08, 86); }
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(335, 92%, 40%); }
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 #c30856
RGB Code | Hex Code | Preview |
---|---|---|
rgb(195, 08, 86, 10%) | #c308561a | |
rgb(195, 08, 86, 20%) | #c3085633 | |
rgb(195, 08, 86, 40%) | #c308564C | |
rgb(195, 08, 86, 60%) | #c3085699 | |
rgb(195, 08, 86, 80%) | #c30856CC | |
rgb(195, 08, 86, 100%) | #c30856FF |
Saturated and desaturated colors of #c30856
HSL Code | Preview |
---|---|
hsl(335, 10%, 40%) | |
hsl(335, 20%, 40%) | |
hsl(335, 40%, 40%) | |
hsl(335, 60%, 40%) | |
hsl(335, 80%, 40%) | |
hsl(335, 100%, 40%) |
#c30856 Color Usage In CSS
body { color: #c30856; } p { color: rgb(195, 08, 86); } header { border-bottom:1px solid #c30856; }