Hex color #afe273, RGB(175, 226, 115) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #afe273 is a shade of green-yellow. In a RGB color space it is composed of 68.63% red, 88.63% green and 45.1% blue. In HSL notation it has 87.6° hue, 65.7% saturation and 66.9% lightness. The process color (CMYK) is combination of 22.57% cyan, 0% magenta, 49.12% yellow and 11.37% key (black). The closest short hexadecimal code of #afe273 is #ae7.
Example CSS code:
.setFontColor { color: #afe273; }
.setBackgroundColor { background-color: #afe273; }
How to set font color?
<p style="color:#afe273">Font color is #afe273.</p>
Font color is #afe273.
Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything.
Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore
How to set background color?
<div style="background-color:#afe273">Background color is #afe273.</div>
Background color is #afe273.
Compromise in colors is grey.
- Edi Rama