#230cca Color
Color Codes | |
---|---|
Hex Code | #230cca |
RGB Code | rgb(35, 12, 202) |
HSL Code | hsl(247, 89%, 42%) |
#230cca Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(35, 12, 202); }
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(247, 89%, 42%); }
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 #230cca
RGB Code | Hex Code | Preview |
---|---|---|
rgb(35, 12, 202, 10%) | #230cca1a | |
rgb(35, 12, 202, 20%) | #230cca33 | |
rgb(35, 12, 202, 40%) | #230cca4C | |
rgb(35, 12, 202, 60%) | #230cca99 | |
rgb(35, 12, 202, 80%) | #230ccaCC | |
rgb(35, 12, 202, 100%) | #230ccaFF |
Saturated and desaturated colors of #230cca
HSL Code | Preview |
---|---|
hsl(247, 10%, 42%) | |
hsl(247, 20%, 42%) | |
hsl(247, 40%, 42%) | |
hsl(247, 60%, 42%) | |
hsl(247, 80%, 42%) | |
hsl(247, 100%, 42%) |
#230cca Color Usage In CSS
body { color: #230cca; } p { color: rgb(35, 12, 202); } header { border-bottom:1px solid #230cca; }