#caf400 Color
Color Codes | |
---|---|
Hex Code | #caf400 |
RGB Code | rgb(202, 244, 00) |
HSL Code | hsl(70, 100%, 48%) |
#caf400 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(202, 244, 00); }
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(70, 100%, 48%); }
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 #caf400
RGB Code | Hex Code | Preview |
---|---|---|
rgb(202, 244, 00, 10%) | #caf4001a | |
rgb(202, 244, 00, 20%) | #caf40033 | |
rgb(202, 244, 00, 40%) | #caf4004C | |
rgb(202, 244, 00, 60%) | #caf40099 | |
rgb(202, 244, 00, 80%) | #caf400CC | |
rgb(202, 244, 00, 100%) | #caf400FF |
Saturated and desaturated colors of #caf400
HSL Code | Preview |
---|---|
hsl(70, 10%, 48%) | |
hsl(70, 20%, 48%) | |
hsl(70, 40%, 48%) | |
hsl(70, 60%, 48%) | |
hsl(70, 80%, 48%) | |
hsl(70, 100%, 48%) |
#caf400 Color Usage In CSS
body { color: #caf400; } p { color: rgb(202, 244, 00); } header { border-bottom:1px solid #caf400; }