#cb401a Color
Color Codes | |
---|---|
Hex Code | #cb401a |
RGB Code | rgb(203, 64, 26) |
HSL Code | hsl(13, 77%, 45%) |
#cb401a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(203, 64, 26); }
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(13, 77%, 45%); }
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 #cb401a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(203, 64, 26, 10%) | #cb401a1a | |
rgb(203, 64, 26, 20%) | #cb401a33 | |
rgb(203, 64, 26, 40%) | #cb401a4C | |
rgb(203, 64, 26, 60%) | #cb401a99 | |
rgb(203, 64, 26, 80%) | #cb401aCC | |
rgb(203, 64, 26, 100%) | #cb401aFF |
Saturated and desaturated colors of #cb401a
HSL Code | Preview |
---|---|
hsl(13, 10%, 45%) | |
hsl(13, 20%, 45%) | |
hsl(13, 40%, 45%) | |
hsl(13, 60%, 45%) | |
hsl(13, 80%, 45%) | |
hsl(13, 100%, 45%) |
#cb401a Color Usage In CSS
body { color: #cb401a; } p { color: rgb(203, 64, 26); } header { border-bottom:1px solid #cb401a; }