#cb039b Color
Color Codes | |
---|---|
Hex Code | #cb039b |
RGB Code | rgb(203, 03, 155) |
HSL Code | hsl(314, 97%, 40%) |
#cb039b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(203, 03, 155); }
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(314, 97%, 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 #cb039b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(203, 03, 155, 10%) | #cb039b1a | |
rgb(203, 03, 155, 20%) | #cb039b33 | |
rgb(203, 03, 155, 40%) | #cb039b4C | |
rgb(203, 03, 155, 60%) | #cb039b99 | |
rgb(203, 03, 155, 80%) | #cb039bCC | |
rgb(203, 03, 155, 100%) | #cb039bFF |
Saturated and desaturated colors of #cb039b
HSL Code | Preview |
---|---|
hsl(314, 10%, 40%) | |
hsl(314, 20%, 40%) | |
hsl(314, 40%, 40%) | |
hsl(314, 60%, 40%) | |
hsl(314, 80%, 40%) | |
hsl(314, 100%, 40%) |
#cb039b Color Usage In CSS
body { color: #cb039b; } p { color: rgb(203, 03, 155); } header { border-bottom:1px solid #cb039b; }