#1c299e Color
Color Codes | |
---|---|
Hex Code | #1c299e |
RGB Code | rgb(28, 41, 158) |
HSL Code | hsl(234, 70%, 36%) |
#1c299e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(28, 41, 158); }
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(234, 70%, 36%); }
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 #1c299e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(28, 41, 158, 10%) | #1c299e1a | |
rgb(28, 41, 158, 20%) | #1c299e33 | |
rgb(28, 41, 158, 40%) | #1c299e4C | |
rgb(28, 41, 158, 60%) | #1c299e99 | |
rgb(28, 41, 158, 80%) | #1c299eCC | |
rgb(28, 41, 158, 100%) | #1c299eFF |
Saturated and desaturated colors of #1c299e
HSL Code | Preview |
---|---|
hsl(234, 10%, 36%) | |
hsl(234, 20%, 36%) | |
hsl(234, 40%, 36%) | |
hsl(234, 60%, 36%) | |
hsl(234, 80%, 36%) | |
hsl(234, 100%, 36%) |
#1c299e Color Usage In CSS
body { color: #1c299e; } p { color: rgb(28, 41, 158); } header { border-bottom:1px solid #1c299e; }