#ffc745 Color
Color Codes | |
---|---|
Hex Code | #ffc745 |
RGB Code | rgb(255, 199, 69) |
HSL Code | hsl(42, 100%, 64%) |
#ffc745 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(255, 199, 69); }
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(42, 100%, 64%); }
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 #ffc745
RGB Code | Hex Code | Preview |
---|---|---|
rgb(255, 199, 69, 10%) | #ffc7451a | |
rgb(255, 199, 69, 20%) | #ffc74533 | |
rgb(255, 199, 69, 40%) | #ffc7454C | |
rgb(255, 199, 69, 60%) | #ffc74599 | |
rgb(255, 199, 69, 80%) | #ffc745CC | |
rgb(255, 199, 69, 100%) | #ffc745FF |
Saturated and desaturated colors of #ffc745
HSL Code | Preview |
---|---|
hsl(42, 10%, 64%) | |
hsl(42, 20%, 64%) | |
hsl(42, 40%, 64%) | |
hsl(42, 60%, 64%) | |
hsl(42, 80%, 64%) | |
hsl(42, 100%, 64%) |
#ffc745 Color Usage In CSS
body { color: #ffc745; } p { color: rgb(255, 199, 69); } header { border-bottom:1px solid #ffc745; }