#ceeb3a Color
Color Codes | |
---|---|
Hex Code | #ceeb3a |
RGB Code | rgb(206, 235, 58) |
HSL Code | hsl(70, 82%, 57%) |
#ceeb3a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(206, 235, 58); }
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, 82%, 57%); }
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 #ceeb3a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(206, 235, 58, 10%) | #ceeb3a1a | |
rgb(206, 235, 58, 20%) | #ceeb3a33 | |
rgb(206, 235, 58, 40%) | #ceeb3a4C | |
rgb(206, 235, 58, 60%) | #ceeb3a99 | |
rgb(206, 235, 58, 80%) | #ceeb3aCC | |
rgb(206, 235, 58, 100%) | #ceeb3aFF |
Saturated and desaturated colors of #ceeb3a
HSL Code | Preview |
---|---|
hsl(70, 10%, 57%) | |
hsl(70, 20%, 57%) | |
hsl(70, 40%, 57%) | |
hsl(70, 60%, 57%) | |
hsl(70, 80%, 57%) | |
hsl(70, 100%, 57%) |
#ceeb3a Color Usage In CSS
body { color: #ceeb3a; } p { color: rgb(206, 235, 58); } header { border-bottom:1px solid #ceeb3a; }