#c23228 Color
Color Codes | |
---|---|
Hex Code | #c23228 |
RGB Code | rgb(194, 50, 40) |
HSL Code | hsl(4, 66%, 46%) |
#c23228 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(194, 50, 40); }
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(4, 66%, 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 #c23228
RGB Code | Hex Code | Preview |
---|---|---|
rgb(194, 50, 40, 10%) | #c232281a | |
rgb(194, 50, 40, 20%) | #c2322833 | |
rgb(194, 50, 40, 40%) | #c232284C | |
rgb(194, 50, 40, 60%) | #c2322899 | |
rgb(194, 50, 40, 80%) | #c23228CC | |
rgb(194, 50, 40, 100%) | #c23228FF |
Saturated and desaturated colors of #c23228
HSL Code | Preview |
---|---|
hsl(4, 10%, 46%) | |
hsl(4, 20%, 46%) | |
hsl(4, 40%, 46%) | |
hsl(4, 60%, 46%) | |
hsl(4, 80%, 46%) | |
hsl(4, 100%, 46%) |
#c23228 Color Usage In CSS
body { color: #c23228; } p { color: rgb(194, 50, 40); } header { border-bottom:1px solid #c23228; }