Hex color #ff7f50, RGB(255, 127, 80) - also known as coral - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #ff7f50 is a shade of red-yellow. In a RGB color space it is composed of 100% red, 49.8% green and 31.37% blue. In HSL notation it has 16.1° hue, 100% saturation and 65.7% lightness. The process color (CMYK) is combination of 0% cyan, 50.20% magenta, 68.63% yellow and 0% key (black). The closest short hexadecimal code of #ff7f50 is #f75.
Example CSS code:
.setFontColor { color: #ff7f50; }
.setBackgroundColor { background-color: #ff7f50; }
How to set font color?
<p style="color:#ff7f50">Font color is #ff7f50.</p>
Font color is #ff7f50.
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:#ff7f50">Background color is #ff7f50.</div>
Background color is #ff7f50.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage